From c34c643ee37e373317d4ed683393a45560590d62 Mon Sep 17 00:00:00 2001 From: Jim Zhang Date: Tue, 21 Feb 2017 15:45:21 -0500 Subject: [PATCH] Restore couchdb-fabricca test This test needs to be updated to work with the latest CouchDBKeyValueStore implementation. Change-Id: I4d024814f2a5ad6579db9fa12b06e71b28039504 Signed-off-by: Jim Zhang --- test/integration/couchdb-fabricca-tests.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/integration/couchdb-fabricca-tests.js b/test/integration/couchdb-fabricca-tests.js index b26c5cea67..2c32f72bf3 100644 --- a/test/integration/couchdb-fabricca-tests.js +++ b/test/integration/couchdb-fabricca-tests.js @@ -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); @@ -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) {