This commit is contained in:
0xmuralik 2023-03-02 15:59:59 +05:30
parent b90bb05b3f
commit b59eb6878d

View File

@ -198,7 +198,7 @@ func (s *IntegrationTestSuite) TestGetCmdSetRecord() {
bondID := GetBondID(s) bondID := GetBondID(s)
dir, err := os.Getwd() dir, err := os.Getwd()
sr.NoError(err) sr.NoError(err)
payloadPath := dir + "/../../helpers/examples/service_provider_example.yml" payloadPath := dir + "/../../helpers/examples/website_registration_example.yml"
tc.args = append([]string{payloadPath, bondID}, tc.args...) tc.args = append([]string{payloadPath, bondID}, tc.args...)
} }
@ -213,6 +213,7 @@ func (s *IntegrationTestSuite) TestGetCmdSetRecord() {
var d sdk.TxResponse var d sdk.TxResponse
err = val.ClientCtx.Codec.UnmarshalJSON(out.Bytes(), &d) err = val.ClientCtx.Codec.UnmarshalJSON(out.Bytes(), &d)
sr.NoError(err) sr.NoError(err)
fmt.Println("TX Resp=====", d)
sr.Zero(d.Code) sr.Zero(d.Code)
} }
}) })