fix(users): edit profile username not lowercase (#2279)
This commit is contained in:
@@ -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,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user