Skip to content

Commit

Permalink
Merge pull request #36 from CudoVentures/Fix-nft-tests
Browse files Browse the repository at this point in the history
Fix NFT tests
  • Loading branch information
kstoykov authored Apr 28, 2022
2 parents 0aeadc0 + e8c0f14 commit 57564b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion x/nft/keeper/grpc_query_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ func (suite *IntegrationTestKeeperSuite) TestGetApprovalsNFT_Correctly_ReturnsAp
})

suite.NoError(err)
suite.Assert().Contains(suite.ctx, response.ApprovedAddresses, address2.String())
suite.Assert().Contains(response.ApprovedAddresses, address2.String())
}

func (suite *IntegrationTestKeeperSuite) TestIsApprovedOperator_ReturnsTrue_WhenOperatorIsApproved() {
Expand Down
2 changes: 1 addition & 1 deletion x/nft/keeper/nft_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ func (suite *IntegrationTestKeeperSuite) TestRevokeApprovalNFT_ReturnsCorrect()
nft, err = suite.keeper.GetBaseNFT(suite.ctx, denomID2, tokenId)

suite.NoError(err)
assert.Equal(suite.T(), map[string]bool(nil), nft.ApprovedAddresses)
assert.Equal(suite.T(), []string([]string(nil)), nft.ApprovedAddresses)

}

Expand Down

0 comments on commit 57564b9

Please sign in to comment.