Browse Source

:fire: Removing unnecessary test

Danilo Guanabara 2 months ago
parent
commit
a24e9700ea
1 changed files with 0 additions and 17 deletions
  1. 0 17
      clients/typescript/test/low-level/permissioning/world.ts

+ 0 - 17
clients/typescript/test/low-level/permissioning/world.ts

@@ -228,22 +228,5 @@ export function world(framework) {
       }
       }
       expect(invalid).to.equal(true);
       expect(invalid).to.equal(true);
     });
     });
-
-    it("Check invalid component update without CPI", async () => {
-      let invalid = false;
-      try {
-        await framework.exampleComponentPosition.methods
-          .update(Buffer.from(""))
-          .accounts({
-            boltComponent: framework.componentPositionEntity4Pda,
-            authority: framework.provider.wallet.publicKey,
-          })
-          .rpc();
-      } catch (error) {
-        expect(error.message).to.contain("Error Code: InvalidCaller");
-        invalid = true;
-      }
-      expect(invalid).to.equal(true);
-    });
   });
   });
 }
 }