From cbc2183ad6ca459268ae7559ab8fdebba6eadfc5 Mon Sep 17 00:00:00 2001 From: elimoshkovich Date: Sun, 31 Mar 2024 14:59:15 +0300 Subject: [PATCH] delete the deletes on rbac --- src/tests/e2e/rbac.e2e.spec.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/tests/e2e/rbac.e2e.spec.ts b/src/tests/e2e/rbac.e2e.spec.ts index d9d46e1..060578e 100644 --- a/src/tests/e2e/rbac.e2e.spec.ts +++ b/src/tests/e2e/rbac.e2e.spec.ts @@ -228,11 +228,11 @@ test('Permission check e2e test', async (t) => { } finally { // cleanup try { - await permit.api.users.delete('auth0|elon'); - await permit.api.tenants.delete('tesla'); - await permit.api.roles.delete('admin'); - await permit.api.roles.delete('viewer'); - await permit.api.resources.delete('document'); + // await permit.api.users.delete('auth0|elon'); + // await permit.api.tenants.delete('tesla'); + // await permit.api.roles.delete('admin'); + // await permit.api.roles.delete('viewer'); + // await permit.api.resources.delete('document'); t.is((await permit.api.resources.list()).length, 0); t.is((await permit.api.roles.list()).length, 0); t.is((await permit.api.tenants.list()).length, 1); // the default tenant