Эх сурвалжийг харах

:fire: Removing unnecessary test

Danilo Guanabara 2 сар өмнө
parent
commit
d61ca022c7

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

@@ -228,22 +228,5 @@ export function world(framework) {
       }
       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);
-    });
   });
 }