diff --git a/dot/build_spec_test.go b/dot/build_spec_test.go index d04f1b1cdb1..a2ae00fd6a6 100644 --- a/dot/build_spec_test.go +++ b/dot/build_spec_test.go @@ -136,10 +136,10 @@ func TestBuildFromDB(t *testing.T) { }{ {name: "normal conditions", path: cfg.Global.BasePath, want: &BuildSpec{genesis: &genesis.Genesis{ - Name: "Gossamer", - ID: "gssmr", + Name: "Gossamer Testnet", + ID: "gssmr_test", Bootnodes: []string{}, - ProtocolID: "/gossamer/gssmr/0", + ProtocolID: "gssmr_test", Genesis: genesis.Fields{ Raw: map[string]map[string]string{}, Runtime: map[string]map[string]interface{}{}, diff --git a/dot/utils_test.go b/dot/utils_test.go index 38c7c8c01af..8aa9468b33d 100644 --- a/dot/utils_test.go +++ b/dot/utils_test.go @@ -24,8 +24,7 @@ import ( func newTestGenesisFile(t *testing.T, cfg *Config) (filename string) { t.Helper() - fp := utils.GetGssmrGenesisPathTest(t) - + fp := utils.GetGssmrGenesisRawPathTest(t) gssmrGen, err := genesis.NewGenesisFromJSON(fp, 0) require.NoError(t, err) @@ -63,7 +62,7 @@ func TestCreateJSONRawFile(t *testing.T) { bs: &BuildSpec{genesis: NewTestGenesis(t)}, fp: filepath.Join(t.TempDir(), "/test.json"), }, - expectedHash: "23356cdb5d3537d39b735726707216c9e329c7b8a2c8a41b25da0f5f936b3caa", + expectedHash: "6453fb6118dab594944a7ed68111fdccc3a68253c9d71ac05f27aa2359507c85", }, } for _, tt := range tests {