Skip to content

Commit

Permalink
Fix integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
0Tech committed Apr 8, 2023
1 parent 263a9e1 commit 0bbdeb2
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions x/collection/client/testutil/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -326,17 +326,17 @@ func (s *IntegrationTestSuite) TestNewQueryCmdNFTSupply() {
"valid query": {
[]string{
s.contractID,
s.ftClassID,
s.nftClassID,
},
true,
&collection.QueryNFTSupplyResponse{
Supply: s.balance.Mul(sdk.NewInt(4)),
Supply: sdk.NewInt(24),
},
},
"extra args": {
[]string{
s.contractID,
s.ftClassID,
s.nftClassID,
"extra",
},
false,
Expand All @@ -352,7 +352,7 @@ func (s *IntegrationTestSuite) TestNewQueryCmdNFTSupply() {
"invalid contract id": {
[]string{
"",
s.ftClassID,
s.nftClassID,
},
false,
nil,
Expand Down Expand Up @@ -401,17 +401,17 @@ func (s *IntegrationTestSuite) TestNewQueryCmdNFTMinted() {
"valid query": {
[]string{
s.contractID,
s.ftClassID,
s.nftClassID,
},
true,
&collection.QueryNFTMintedResponse{
Minted: s.balance.Mul(sdk.NewInt(5)),
Minted: sdk.NewInt(24),
},
},
"extra args": {
[]string{
s.contractID,
s.ftClassID,
s.nftClassID,
"extra",
},
false,
Expand All @@ -427,7 +427,7 @@ func (s *IntegrationTestSuite) TestNewQueryCmdNFTMinted() {
"invalid contract id": {
[]string{
"",
s.ftClassID,
s.nftClassID,
},
false,
nil,
Expand Down Expand Up @@ -476,17 +476,17 @@ func (s *IntegrationTestSuite) TestNewQueryCmdNFTBurnt() {
"valid query": {
[]string{
s.contractID,
s.ftClassID,
s.nftClassID,
},
true,
&collection.QueryNFTBurntResponse{
Burnt: s.balance,
Burnt: sdk.ZeroInt(),
},
},
"extra args": {
[]string{
s.contractID,
s.ftClassID,
s.nftClassID,
"extra",
},
false,
Expand All @@ -502,7 +502,7 @@ func (s *IntegrationTestSuite) TestNewQueryCmdNFTBurnt() {
"invalid contract id": {
[]string{
"",
s.ftClassID,
s.nftClassID,
},
false,
nil,
Expand Down

0 comments on commit 0bbdeb2

Please sign in to comment.