diff --git a/apps/e2e/tests/backend/endpoints/api/v1/users.test.ts b/apps/e2e/tests/backend/endpoints/api/v1/users.test.ts index fa7f028ff..963937087 100644 --- a/apps/e2e/tests/backend/endpoints/api/v1/users.test.ts +++ b/apps/e2e/tests/backend/endpoints/api/v1/users.test.ts @@ -674,10 +674,10 @@ describe("with client access", () => { accessType: "client", method: "PATCH", body: { - profile_image_url: "data:image/gif;base64,R0lGODlhAQABAAAAACw=", + profile_image_url: "data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==", }, }); - expect(response.body.profile_image_url).toEqual("data:image/gif;base64,R0lGODlhAQABAAAAACw="); + expect(response.body.profile_image_url).toMatchInlineSnapshot(`"http://localhost:8120/stack-storage/user-profile-images/.gif"`); }); it("should not be able to update profile image url with invalid base64", async ({ expect }) => {