From 7563a443a97bad7e8db3202385fc78c7969f3b61 Mon Sep 17 00:00:00 2001 From: MTRNord Date: Tue, 24 Oct 2023 12:09:15 +0200 Subject: [PATCH] Fix typo --- test/integration/commands/queryAdminDetailsTest.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/integration/commands/queryAdminDetailsTest.ts b/test/integration/commands/queryAdminDetailsTest.ts index bcf750d9..0049c35e 100644 --- a/test/integration/commands/queryAdminDetailsTest.ts +++ b/test/integration/commands/queryAdminDetailsTest.ts @@ -21,7 +21,7 @@ describe("Test: The queryAdmin command", function () { await getMessagesByUserIn(moderator, draupnirUserId, this.mjolnir.managementRoomId, 1000, function (events) { events.map(e => { if (e.type === 'm.room.message') { - assert.equal(e.content.body, "", `Draipnir did not parse the json as expected: ${e.content.body}.`) + assert.equal(e.content.body, "", `Draupnir did not parse the json as expected: ${e.content.body}.`) } }) }); @@ -41,7 +41,7 @@ describe("Test: The queryAdmin command", function () { await getMessagesByUserIn(moderator, draupnirUserId, this.mjolnir.managementRoomId, 1000, function (events) { events.map(e => { if (e.type === 'm.room.message') { - assert.equal(e.content.body, "", `Draipnir did not parse the json as expected: ${e.content.body}.`) + assert.equal(e.content.body, "", `Draupnir did not parse the json as expected: ${e.content.body}.`) } }) }); @@ -61,7 +61,7 @@ describe("Test: The queryAdmin command", function () { await getMessagesByUserIn(moderator, draupnirUserId, this.mjolnir.managementRoomId, 1000, function (events) { events.map(e => { if (e.type === 'm.room.message') { - assert.equal(e.content.body, "", `Draipnir did not parse the json as expected: ${e.content.body}.`) + assert.equal(e.content.body, "", `Draupnir did not parse the json as expected: ${e.content.body}.`) } }) }); @@ -81,7 +81,7 @@ describe("Test: The queryAdmin command", function () { await getMessagesByUserIn(moderator, draupnirUserId, this.mjolnir.managementRoomId, 1000, function (events) { events.map(e => { if (e.type === 'm.room.message') { - assert.equal(e.content.body, "", `Draipnir did not parse the json as expected: ${e.content.body}.`) + assert.equal(e.content.body, "", `Draupnir did not parse the json as expected: ${e.content.body}.`) } }) });