test: update nursery_store_test.go due to recent chain genesis renaming

This commit is contained in:
Olaoluwa Osuntokun
2018-03-14 19:11:00 -07:00
parent 30019538c4
commit 9aac0c41a2

View File

@@ -88,7 +88,7 @@ func TestNurseryStoreInit(t *testing.T) {
}
defer cleanUp()
ns, err := newNurseryStore(&bitcoinGenesis, cdb)
ns, err := newNurseryStore(&bitcoinTestnetGenesis, cdb)
if err != nil {
t.Fatalf("unable to open nursery store: %v", err)
}
@@ -110,7 +110,7 @@ func TestNurseryStoreIncubate(t *testing.T) {
}
defer cleanUp()
ns, err := newNurseryStore(&bitcoinGenesis, cdb)
ns, err := newNurseryStore(&bitcoinTestnetGenesis, cdb)
if err != nil {
t.Fatalf("unable to open nursery store: %v", err)
}
@@ -350,7 +350,7 @@ func TestNurseryStoreFinalize(t *testing.T) {
}
defer cleanUp()
ns, err := newNurseryStore(&bitcoinGenesis, cdb)
ns, err := newNurseryStore(&bitcoinTestnetGenesis, cdb)
if err != nil {
t.Fatalf("unable to open nursery store: %v", err)
}
@@ -437,7 +437,7 @@ func TestNurseryStoreGraduate(t *testing.T) {
}
defer cleanUp()
ns, err := newNurseryStore(&bitcoinGenesis, cdb)
ns, err := newNurseryStore(&bitcoinTestnetGenesis, cdb)
if err != nil {
t.Fatalf("unable to open nursery store: %v", err)
}