Skip to content

Commit 88e5056

Browse files
author
Aries Yuwono
committed
updated
1 parent 705eab2 commit 88e5056

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

test-complete/nodejs-documents-transaction-remove.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,17 @@ describe('Transaction remove multiple documents test', function() {
9898
.then(function(response) {
9999
//console.log(JSON.stringify(response, null, 2));
100100
response.removed.should.equal(true);
101+
return db.documents.read({
102+
txid: tid2,
103+
uris: [
104+
'/test/remove/transaction/doc1.json',
105+
'/test/remove/transaction/doc2.json'
106+
]
107+
}).result();
108+
})
109+
.then(function(response) {
110+
//console.log(JSON.stringify(response, null, 2));
111+
response.length.should.equal(0);
101112
return db.transactions.commit(tid2).result();
102113
})
103114
.then(function(response) {

0 commit comments

Comments
 (0)