Skip to content

Commit 791123f

Browse files
committed
Fix couchdb tests
Fix merge conflict due to recently exported CouchDatabase fields. Change-Id: I81dd017943d6cc5973a85662f73e6f2457b2a031 Signed-off-by: denyeart <[email protected]>
1 parent 9556ed1 commit 791123f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/ledger/util/couchdb/couchdb_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ func TestDBCreateEnsureFullCommit(t *testing.T) {
125125
//create a new instance and database object
126126
couchInstance, err := CreateCouchInstance(connectURL, username, password)
127127
testutil.AssertNoError(t, err, fmt.Sprintf("Error when trying to create couch instance"))
128-
db := CouchDatabase{couchInstance: *couchInstance, dbName: database}
128+
db := CouchDatabase{CouchInstance: *couchInstance, DBName: database}
129129

130130
//create a new database
131131
_, errdb := db.CreateDatabaseIfNotExist()
@@ -612,7 +612,7 @@ func TestRichQuery(t *testing.T) {
612612
//create a new instance and database object --------------------------------------------------------
613613
couchInstance, err := CreateCouchInstance(connectURL, username, password)
614614
testutil.AssertNoError(t, err, fmt.Sprintf("Error when trying to create couch instance"))
615-
db := CouchDatabase{couchInstance: *couchInstance, dbName: database}
615+
db := CouchDatabase{CouchInstance: *couchInstance, DBName: database}
616616

617617
//create a new database
618618
_, errdb := db.CreateDatabaseIfNotExist()

0 commit comments

Comments
 (0)