Skip to content

Commit

Permalink
Replace deprecated method
Browse files Browse the repository at this point in the history
  • Loading branch information
febo committed Nov 24, 2023
1 parent 71270f3 commit 66c4a97
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions clients/js/test/getProgram.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { samePublicKey } from '@metaplex-foundation/umi';
import test from 'ava';
import { MPL_PROJECT_NAME_PROGRAM_ID } from '../src';
import { createUmi } from './_setup';
Expand All @@ -11,5 +10,5 @@ test('it registers the program', async (t) => {
const program = umi.programs.get('mplProjectName');

// Then we expect it to be the same as the program ID constant.
t.true(samePublicKey(program.publicKey, MPL_PROJECT_NAME_PROGRAM_ID));
t.true(program.publicKey === MPL_PROJECT_NAME_PROGRAM_ID);
});

0 comments on commit 66c4a97

Please sign in to comment.