From 791123fa9b9d429961e30a76435eca87c1ccbb91 Mon Sep 17 00:00:00 2001 From: denyeart Date: Mon, 3 Apr 2017 10:48:32 -0400 Subject: [PATCH] Fix couchdb tests Fix merge conflict due to recently exported CouchDatabase fields. Change-Id: I81dd017943d6cc5973a85662f73e6f2457b2a031 Signed-off-by: denyeart --- core/ledger/util/couchdb/couchdb_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/ledger/util/couchdb/couchdb_test.go b/core/ledger/util/couchdb/couchdb_test.go index f9477e92cc8..e4243648086 100644 --- a/core/ledger/util/couchdb/couchdb_test.go +++ b/core/ledger/util/couchdb/couchdb_test.go @@ -125,7 +125,7 @@ func TestDBCreateEnsureFullCommit(t *testing.T) { //create a new instance and database object couchInstance, err := CreateCouchInstance(connectURL, username, password) testutil.AssertNoError(t, err, fmt.Sprintf("Error when trying to create couch instance")) - db := CouchDatabase{couchInstance: *couchInstance, dbName: database} + db := CouchDatabase{CouchInstance: *couchInstance, DBName: database} //create a new database _, errdb := db.CreateDatabaseIfNotExist() @@ -612,7 +612,7 @@ func TestRichQuery(t *testing.T) { //create a new instance and database object -------------------------------------------------------- couchInstance, err := CreateCouchInstance(connectURL, username, password) testutil.AssertNoError(t, err, fmt.Sprintf("Error when trying to create couch instance")) - db := CouchDatabase{couchInstance: *couchInstance, dbName: database} + db := CouchDatabase{CouchInstance: *couchInstance, DBName: database} //create a new database _, errdb := db.CreateDatabaseIfNotExist()