Skip to content

Commit

Permalink
Restore couchdb-fabricca test
Browse files Browse the repository at this point in the history
This test needs to be updated to work with the latest
CouchDBKeyValueStore implementation.

Change-Id: I4d024814f2a5ad6579db9fa12b06e71b28039504
Signed-off-by: Jim Zhang <jzhang@us.ibm.com>
  • Loading branch information
jimthematrix committed Feb 21, 2017
1 parent 1e3c1b2 commit c34c643
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/integration/couchdb-fabricca-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ test('Use FabricCAServices with a CouchDB KeyValueStore', function(t) {
process.exit(1);
}
t.comment('Initialize the CA server connection and KeyValueStore');
return new FabricCAServices('http://localhost:7054', kvs);
return new FabricCAServices('http://localhost:7054', {name: dbname, url: keyValStorePath});
},
function(err) {
console.log(err);
Expand All @@ -87,8 +87,8 @@ test('Use FabricCAServices with a CouchDB KeyValueStore', function(t) {
t.comment('Set cryptoSuite on client');
t.comment('Begin caService.enroll');
return caService.enroll({
enrollmentID: 'admin2',
enrollmentSecret: 'adminpw2'
enrollmentID: 'admin',
enrollmentSecret: 'adminpw'
});
},
function(err) {
Expand Down

0 comments on commit c34c643

Please sign in to comment.