Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(210)

Unified Diff: test/test_sandbox_go.js

Issue 13335048: Fix go relations in sandbox
Patch Set: Fix go relations in sandbox Created 11 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/test_fakebackend.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/test_sandbox_go.js
=== modified file 'test/test_sandbox_go.js'
--- test/test_sandbox_go.js 2013-08-23 13:53:29 +0000
+++ test/test_sandbox_go.js 2013-09-02 16:42:27 +0000
@@ -917,6 +917,8 @@
var recData = Y.JSON.parse(received.data);
assert.equal(recData.RequestId, data.RequestId);
assert.equal(recData.Error, undefined);
+ assert.isObject(
+ state.db.relations.getById('wordpress:db mysql:db'));
var recEndpoints = recData.Response.Endpoints;
assert.equal(recEndpoints.wordpress.Name, 'db');
assert.equal(recEndpoints.wordpress.Scope, 'global');
@@ -943,6 +945,8 @@
assert.equal(recData.endpoint_a, 'wordpress:db');
assert.equal(recData.endpoint_b, 'mysql:db');
assert.isObject(recData.result);
+ assert.isObject(
+ state.db.relations.getById('wordpress:db mysql:db'));
done();
});
}
« no previous file with comments | « test/test_fakebackend.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b