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
No known key found for this signature in database
GPG Key ID: 964EA263DD637C21

@ -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)
}