Remove old test

This commit is contained in:
Ajay
2025-10-03 15:13:31 -04:00
parent c1fc6519b4
commit 1eedc9fa09

View File

@@ -223,10 +223,4 @@ describe("setUsername", () => {
assert.strictEqual(resp.status, 200); assert.strictEqual(resp.status, 200);
await assert.rejects(getUsernameInfo(publicID), "Expected the username change to be silently rejected"); 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");
});
}); });