chore: fix integration tests (#1240)

* chore: fix integration tests

* chore: fix integration tests

* fix: store tests

* fix: store tests

* fix: cleanup
This commit is contained in:
Sebastian Rindom
2022-03-25 15:08:54 +01:00
committed by GitHub
parent a610805917
commit e4af6b8f9c
13 changed files with 119 additions and 104 deletions

View File

@@ -77,7 +77,7 @@ describe("/admin/customer-groups", () => {
},
})
.catch((err) => {
expect(err.response.status).toEqual(402)
expect(err.response.status).toEqual(422)
expect(err.response.data.type).toEqual("duplicate_error")
expect(err.response.data.message).toEqual(
"Key (name)=(vip-customers) already exists."