From 4393a2b22666f034799e86f18b3fb92e82e78d11 Mon Sep 17 00:00:00 2001 From: jusax23 Date: Sun, 25 Feb 2024 13:40:35 +0100 Subject: [PATCH] small fixes --- src/main.ts | 2 +- test.juml | 3 ++- tests/tests/post.js | 8 ++++++-- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/src/main.ts b/src/main.ts index fe9f389..9d6ab75 100644 --- a/src/main.ts +++ b/src/main.ts @@ -124,7 +124,7 @@ async function complete_loaded() { await nman.shutdown(); process.exit(1); } - warn("Outbag", "Keep running tue to debug Mode"); + warn("Outbag", "Keep running due to debug Mode"); } activatePost(); activateWS(); diff --git a/test.juml b/test.juml index 92a477a..c782c8b 100644 --- a/test.juml +++ b/test.juml @@ -25,4 +25,5 @@ maxUsers=2 defaultMaxRooms=2 defaultMaxRoomSize=10 defaultMaxUsersPerRoom=2 -defaultViewable=true \ No newline at end of file +defaultViewable=true +deletedAccountKeepSec=1728000 diff --git a/tests/tests/post.js b/tests/tests/post.js index 07b2cf1..59273bd 100644 --- a/tests/tests/post.js +++ b/tests/tests/post.js @@ -139,7 +139,7 @@ const list = [ name: name2, server: "localhost:7224", accountKey: accountKey + "lol" - }, "error",act_error.AUTH); + }, "error", act_error.AUTH); }], ["admin", async (req) => { let resp = await req({ "authorization": `Digest name=${name1} server=localhost:7224 accountKey=${accountKey}` @@ -150,6 +150,7 @@ const list = [ name: "testUser1", viewable: true, deleted: false, + deletedTime: 0, maxRooms: 2, maxRoomSize: 10, maxUsersPerRoom: 2 @@ -159,6 +160,7 @@ const list = [ name: "testUser2", viewable: true, deleted: true, + deletedTime: null, maxRooms: 2, maxRoomSize: 10, maxUsersPerRoom: 2 @@ -179,15 +181,17 @@ const list = [ name: "testUser1", viewable: true, deleted: false, + deletedTime: 0, maxRooms: 2, maxRoomSize: 10, maxUsersPerRoom: 2 }, { - accID: null, + accID: 3, rights: 5, name: "testUser2", viewable: true, deleted: true, + deletedTime: null, maxRooms: 2, maxRoomSize: 10, maxUsersPerRoom: 2