From 309293d9143caabe52c77d00dee6f48226b4d0e8 Mon Sep 17 00:00:00 2001 From: gnuxie Date: Mon, 8 Aug 2022 17:28:40 +0100 Subject: [PATCH] oop MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 😳 --- test/integration/banListTest.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/integration/banListTest.ts b/test/integration/banListTest.ts index 4a43094..a733a58 100644 --- a/test/integration/banListTest.ts +++ b/test/integration/banListTest.ts @@ -230,7 +230,7 @@ describe('Test: We will not be able to ban ourselves via ACL.', function() { }) -describe('Test: ACL updates will batch when rules are added in succession.', function() { +describe.only('Test: ACL updates will batch when rules are added in succession.', function() { it('Will batch ACL updates if we spam rules into a PolicyList', async function() { const mjolnir = config.RUNTIME.client! const serverName: string = new UserID(await mjolnir.getUserId()).domain @@ -275,7 +275,7 @@ describe('Test: ACL updates will batch when rules are added in succession.', fun // At this point we check that the state within Mjolnir is internally consistent, this is just because debugging the following // is a pita. - const list: PolicyList = this.mjolnir.banLists[0]!; + const list: PolicyList = this.mjolnir.policyLists[0]!; assert.equal(list.serverRules.length, evilServerCount, `There should be ${evilServerCount} rules in here`); // Check each of the protected rooms for ACL events and make sure they were batched and are correct.