Skip to content

Commit

Permalink
Updated tests
Browse files Browse the repository at this point in the history
  • Loading branch information
andersevenrud committed Feb 6, 2016
1 parent d6d0fb7 commit 59e7d68
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/server/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,11 @@ describe('Node HTTP Server', function() {
assert.equal(false, err);
assert.equal(200, res.statusCode);
assert.equal(false, body.error);
assert.equal(JSON.stringify(exp), JSON.stringify(body.result));
var expc = {
userData: body.result.userData,
userSettings: body.result.userSettings,
};
assert.equal(JSON.stringify(exp), JSON.stringify(expc));
done();
});
});
Expand Down

0 comments on commit 59e7d68

Please sign in to comment.