mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-06 03:26:59 +03:00
Remove old test
This commit is contained in:
@@ -223,10 +223,4 @@ describe("setUsername", () => {
|
||||
assert.strictEqual(resp.status, 200);
|
||||
await assert.rejects(getUsernameInfo(publicID), "Expected the username change to be silently rejected");
|
||||
});
|
||||
|
||||
it("Should ignore username change requests for new users", async () => {
|
||||
const resp = await postSetUserName(completelyNewUserPrivId, completelyNewUsername);
|
||||
assert.strictEqual(resp.status, 200);
|
||||
await assert.rejects(getUsernameInfo(getHash(completelyNewUserPrivId)), "Expected the username change to be silently rejected");
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user