From 24b6b5c95b2d94b79409b80bc9001e74ea80c161 Mon Sep 17 00:00:00 2001 From: febo Date: Fri, 20 Oct 2023 13:55:47 +0100 Subject: [PATCH] Fix error type --- programs/token-metadata/program/tests/transfer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/token-metadata/program/tests/transfer.rs b/programs/token-metadata/program/tests/transfer.rs index 61e5afc7..48c1eb97 100644 --- a/programs/token-metadata/program/tests/transfer.rs +++ b/programs/token-metadata/program/tests/transfer.rs @@ -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")]