Skip to content

Commit

Permalink
Fix error type
Browse files Browse the repository at this point in the history
  • Loading branch information
febo committed Oct 20, 2023
1 parent b3b745a commit 24b6b5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion programs/token-metadata/program/tests/transfer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1849,7 +1849,7 @@ mod auth_rules_transfer {

let err = nft.transfer(params, spl_token_program).await.unwrap_err();

assert_custom_error_ix!(1, err, MetadataError::InvalidOwner);
assert_custom_error_ix!(1, err, MetadataError::IncorrectOwner);
}

#[test_case::test_case(spl_token::id() ; "Token Program")]
Expand Down

0 comments on commit 24b6b5c

Please sign in to comment.