fix(users): edit profile username not lowercase (#2279)

This commit is contained in:
Meier Lukas
2025-02-09 19:09:48 +01:00
committed by GitHub
parent 749b0c6ee9
commit b7fd2470ee
3 changed files with 6 additions and 7 deletions

View File

@@ -237,7 +237,7 @@ describe("editProfile shoud update user", () => {
expect(user).toHaveLength(1);
expect(user[0]).containSubset({
id: defaultOwnerId,
name: "ABC",
name: "abc",
email: "abc@gmail.com",
emailVerified,
});
@@ -272,7 +272,7 @@ describe("editProfile shoud update user", () => {
expect(user).toHaveLength(1);
expect(user[0]).containSubset({
id: defaultOwnerId,
name: "ABC",
name: "abc",
email: "myNewEmail@gmail.com",
emailVerified: null,
});