Skip to content

Commit

Permalink
Updating System Test to use the new error message (#112)
Browse files Browse the repository at this point in the history
  • Loading branch information
schmidt-sebastian committed Jan 23, 2018
1 parent a90c573 commit 6ac1947
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions system-test/firestore.js
Expand Up @@ -322,7 +322,7 @@ describe('DocumentReference class', function() {
.doc()
.update({foo: 'b'})
.catch(err => {
assert.ok(err.message.match(/no entity to update/));
assert.ok(err.message.match(/No document to update/));
});
});

Expand Down Expand Up @@ -1364,7 +1364,7 @@ describe('Transaction class', function() {
assert.fail();
})
.catch(err => {
assert.ok(err.message.match(/no entity to update/));
assert.ok(err.message.match(/No document to update/));
});
});

Expand Down Expand Up @@ -1461,7 +1461,7 @@ describe('WriteBatch class', function() {
assert.fail();
})
.catch(err => {
assert.ok(err.message.match(/no entity to update/));
assert.ok(err.message.match(/No document to update/));
});
});

Expand Down

0 comments on commit 6ac1947

Please sign in to comment.