Nfts: minor fixes (#13576)

* Rename owner_of_item to owned_item

* Move AttributeNamespace into the types file
This commit is contained in:
Jegor Sidorenko
2023-03-10 11:52:10 +02:00
committed by GitHub
parent 03b2358dd1
commit 689c2f6d4e
5 changed files with 25 additions and 28 deletions
+3 -3
View File
@@ -335,7 +335,7 @@ fn mint_should_work() {
1,
42,
account(2),
Some(MintWitness { owner_of_item: 42 })
Some(MintWitness { owned_item: 42 })
),
Error::<Test>::BadWitness
);
@@ -344,7 +344,7 @@ fn mint_should_work() {
1,
42,
account(2),
Some(MintWitness { owner_of_item: 43 })
Some(MintWitness { owned_item: 43 })
));
// can't mint twice
@@ -354,7 +354,7 @@ fn mint_should_work() {
1,
46,
account(2),
Some(MintWitness { owner_of_item: 43 })
Some(MintWitness { owned_item: 43 })
),
Error::<Test>::AlreadyClaimed
);