Skip to content

Commit

Permalink
Enable assertions in session test (Azure#118)
Browse files Browse the repository at this point in the history
  • Loading branch information
southpolesteve authored Sep 11, 2018
1 parent 2ea0f75 commit 9f91042
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/test/integration/session.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -255,9 +255,8 @@ describe("Session Token", function() {
assert.fail("Must throw");
} catch (err) {
assert.equal(err.code, 404, "expecting 404 (Not found)");
// TODO: Renable this check https://github.com/Azure/azure-cosmos-js/issues/110
// assert.equal(err.substatus, undefined, "expecting substatus code to be undefined");
// assert.equal(setSessionTokenSpy.callCount, 1, "unexpected number of calls to sesSessionToken");
assert.equal(err.substatus, undefined, "expecting substatus code to be undefined");
assert.equal(setSessionTokenSpy.callCount, 1, "unexpected number of calls to sesSessionToken");
setSessionTokenSpy.restore();
}
});
Expand Down

0 comments on commit 9f91042

Please sign in to comment.