post tests signup

This commit is contained in:
jusax23 2023-03-12 00:19:58 +01:00
parent ab995d8f8b
commit 5a9970ff59
Signed by: jusax23
GPG key ID: 499E2AA870C1CD41

View file

@ -14,6 +14,21 @@ const list = [
server: "localhost:7224", server: "localhost:7224",
accountKey accountKey
}, "ok", ""); }, "ok", "");
await req({}, "signup", {
name: name1,
server: "localhost:7224",
accountKey
}, "error", "existence");
await req({}, "signup", {
name: name2,
server: "localhost:7224",
accountKey
}, "ok", "");
await req({}, "signup", {
name: name2,
server: "localhost:7224",
accountKey
}, "error", "config");
}] }]
]; ];