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