Skip to content

Commit

Permalink
Fix tests failing when overridden for cloudant.
Browse files Browse the repository at this point in the history
Fixed short-circuiting of test cases preventing then from being run
standalone.
  • Loading branch information
virkt25 committed Jul 18, 2017
1 parent 34e6a57 commit 3f2a370
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/manipulation.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -1870,7 +1870,7 @@ describe('manipulation', function() {
});

bdd.itIf(connectorCapabilities.supportStrictDelete !== false &&
connectorCapabilities.cloudantCompatible,
connectorCapabilities.cloudantCompatible !== false,
'should allow delete(id) - ' + 'fail with error', function(done) {
// Please recover when the issue above get fixed
Person.settings.strictDelete = true;
Expand Down Expand Up @@ -2214,7 +2214,7 @@ describe('manipulation', function() {
});

bdd.itIf(connectorCapabilities.updateWithoutId !== false &&
connectorCapabilities.cloudantCompatible,
connectorCapabilities.cloudantCompatible !== false,
'should update all instances when the where condition is not provided', function(done) {
filterHarry = connectorCapabilities.deleteWithOtherThanId === false ?
{id: idHarry} : {name: 'Harry Hoe'};
Expand Down

0 comments on commit 3f2a370

Please sign in to comment.