feat(oas): declare x-expanded-relations - Store (#3482)
* feat(oas): declare x-expanded-relations - Store * fixup! feat(oas): declare x-expanded-relations - Store * fixup! feat(oas): declare x-expanded-relations - Store * fixup! feat(oas): declare x-expanded-relations - Store * fixup! feat(oas): declare x-expanded-relations - Store * chore(changeset): patch * fix(tests): update store auth integration test * fix: pr feedback * fix(test): match response code
This commit is contained in:
@@ -49,15 +49,18 @@ describe("/store/auth", () => {
|
||||
|
||||
expect(response.status).toEqual(200)
|
||||
expect(response.data.customer.password_hash).toEqual(undefined)
|
||||
expect(response.data.customer).toMatchSnapshot({
|
||||
id: expect.any(String),
|
||||
created_at: expect.any(String),
|
||||
updated_at: expect.any(String),
|
||||
first_name: "test",
|
||||
last_name: "testesen",
|
||||
phone: null,
|
||||
email: "test@testesen.dk",
|
||||
})
|
||||
expect(response.data.customer).toEqual(
|
||||
expect.objectContaining({
|
||||
id: expect.any(String),
|
||||
created_at: expect.any(String),
|
||||
updated_at: expect.any(String),
|
||||
first_name: "test",
|
||||
last_name: "testesen",
|
||||
phone: null,
|
||||
email: "test@testesen.dk",
|
||||
shipping_addresses: expect.arrayContaining([]),
|
||||
})
|
||||
)
|
||||
})
|
||||
|
||||
describe("Store session management", () => {
|
||||
|
||||
Reference in New Issue
Block a user