docs: add documentation for nft module (#13871)

This commit is contained in:
Julien Robert
2022-11-15 14:45:19 +00:00
committed by GitHub
parent 5f4350d418
commit f82775ba1f
4 changed files with 31 additions and 5 deletions
+12
View File
@@ -322,6 +322,18 @@ func (s *IntegrationTestSuite) TestQueryNFTGRPC() {
},
expectErr: false,
},
{
name: "class id does not exist",
args: struct {
ClassID string
ID string
}{
ClassID: "class",
ID: ExpNFT.Id,
},
expectErr: true,
errorMsg: "not found nft",
},
}
nftURL := val.APIAddress + "/cosmos/nft/v1beta1/nfts/%s/%s"
for _, tc := range testCases {