Skip to content

Commit

Permalink
✅ Fix test case build error on NewMsgCreateIscnRecord
Browse files Browse the repository at this point in the history
  • Loading branch information
nnkken authored and williamchong committed Jan 20, 2023
1 parent 011d519 commit 8c6f960
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions x/iscn/app_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -866,7 +866,7 @@ func TestUpdateAuthorization(t *testing.T) {
Stakeholders: []types.IscnInput{stakeholder1, stakeholder2},
ContentMetadata: contentMetadata1,
}
msg = types.NewMsgCreateIscnRecord(addr1, &record)
msg = types.NewMsgCreateIscnRecord(addr1, &record, 0)
result := app.DeliverMsgNoError(t, msg, priv1)
iscnId := testutil.GetIscnIdFromResult(t, result)

Expand Down Expand Up @@ -910,7 +910,7 @@ func TestUpdateAuthorization(t *testing.T) {
Stakeholders: []types.IscnInput{stakeholder1, stakeholder2},
ContentMetadata: contentMetadata2,
}
msg = types.NewMsgCreateIscnRecord(addr1, &record)
msg = types.NewMsgCreateIscnRecord(addr1, &record, 0)
result = app.DeliverMsgNoError(t, msg, priv1)
iscnId3 := testutil.GetIscnIdFromResult(t, result)

Expand Down
6 changes: 3 additions & 3 deletions x/likenft/authz_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ func setupAppAndNfts(t *testing.T) authorizationTestSetup {
for j := 0; j < 2; j++ {
record := baseRecord
record.RecordNotes = fmt.Sprintf("%d-%d", i, j)
msg = iscntypes.NewMsgCreateIscnRecord(owner.Addr, &record)
msg = iscntypes.NewMsgCreateIscnRecord(owner.Addr, &record, 0)
res := app.DeliverMsgNoError(t, msg, owner.PrivKey)
iscnId := testutil.GetIscnIdFromResult(t, res)
iscn := authorizationTestSetupIscn{
Expand Down Expand Up @@ -169,7 +169,7 @@ func TestAuthorization(t *testing.T) {
Stakeholders: []iscntypes.IscnInput{stakeholder1, stakeholder2},
ContentMetadata: contentMetadata1,
}
msg = iscntypes.NewMsgCreateIscnRecord(addr1, &record)
msg = iscntypes.NewMsgCreateIscnRecord(addr1, &record, 0)
res := app.DeliverMsgNoError(t, msg, priv1)
iscnId1 := testutil.GetIscnIdFromResult(t, res)

Expand All @@ -179,7 +179,7 @@ func TestAuthorization(t *testing.T) {
Stakeholders: []iscntypes.IscnInput{stakeholder1, stakeholder2},
ContentMetadata: contentMetadata1,
}
msg = iscntypes.NewMsgCreateIscnRecord(addr3, &record)
msg = iscntypes.NewMsgCreateIscnRecord(addr3, &record, 0)
res = app.DeliverMsgNoError(t, msg, priv3)
iscnId3 := testutil.GetIscnIdFromResult(t, res)

Expand Down

0 comments on commit 8c6f960

Please sign in to comment.