mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-29 20:47:56 +00:00
Nfts: minor fixes (#13576)
* Rename owner_of_item to owned_item * Move AttributeNamespace into the types file
This commit is contained in:
@@ -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
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user