Browse Source

tests: Fix multiple suites example (#2279)

Jean Marchand (Exotic Markets) 2 years ago
parent
commit
c0d3ff2d77

+ 1 - 1
tests/multiple-suites/Anchor.toml

@@ -14,5 +14,5 @@ wallet = "~/.config/solana/id.json"
 startup_wait = 20000
 
 [[test.validator.account]]
-address = "C4XeBpzX4tDjGV1gkLsj7jJh6XHunVqAykANWCfTLszw"
+address = "3vMPj13emX9JmifYcWc77ekEzV1F37ga36E1YeSr6Mdj"
 filename = "./tests/accounts/SOME_ACCOUNT.json"

+ 2 - 4
tests/multiple-suites/tests/multiple-suites/multiple-suites.ts

@@ -24,10 +24,8 @@ describe("multiple-suites", () => {
       new PublicKey("3vMPj13emX9JmifYcWc77ekEzV1F37ga36E1YeSr6Mdj")
     );
 
-    // TODO: This test is failing, SOME_TOKEN is not null and SOME_ACCOUNT is null
-    // and i cannot figure out how this works. Possibly broken by solana-cli v1.14.7
-    // assert.isNull(SOME_TOKEN);
-    // assert.isNotNull(SOME_ACCOUNT);
+    assert.isNull(SOME_TOKEN);
+    assert.isNotNull(SOME_ACCOUNT);
 
     console.log("Your transaction signature", tx);
   });