瀏覽代碼

:fire: Removing unnecessary test

Danilo Guanabara 2 月之前
父節點
當前提交
a24e9700ea
共有 1 個文件被更改,包括 0 次插入17 次删除
  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);
     });
-
-    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);
-    });
   });
 }