Skip to content

Commit

Permalink
update program's test accordingly to the latest changes regarding Tok…
Browse files Browse the repository at this point in the history
…enStandard
  • Loading branch information
kstepanovdev committed Feb 16, 2024
1 parent d5c9b95 commit eba7643
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions programs/bubblegum/program/tests/utils/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ use super::{
clone_keypair, digital_asset::DigitalAsset, program_test, tree::Tree, BanksResult, DirtyClone,
Error, LeafArgs, Result,
};
use bubblegum::state::metaplex_adapter::{Collection, Creator, MetadataArgs, TokenProgramVersion};
use bubblegum::state::metaplex_adapter::{
Collection, Creator, MetadataArgs, TokenProgramVersion, TokenStandard as MetadataTokenStandard,
};
use mpl_token_metadata::{
accounts::CollectionAuthorityRecord,
instructions::ApproveCollectionAuthorityBuilder,
Expand Down Expand Up @@ -130,7 +132,7 @@ impl BubblegumTestContext {
primary_sale_happened: false,
is_mutable: false,
edition_nonce: None,
token_standard: None,
token_standard: Some(MetadataTokenStandard::NonFungible),
token_program_version: TokenProgramVersion::Original,
collection: Some(Collection {
verified: false,
Expand Down

0 comments on commit eba7643

Please sign in to comment.