fix: Several fixes to store product endpoints, moved several test suites to HTTP (#7601)
* chore: Move publishable api key tests to HTTP * chore: Move store tests to HTTP folder * fix: Add tests for store products, fix several bugs around publishable keys
This commit is contained in:
@@ -317,7 +317,7 @@ medusaIntegrationTestRunner({
|
||||
|
||||
expect(error.response.status).toEqual(400)
|
||||
expect(error.response.data).toEqual({
|
||||
message: `Invalid sales channel filters provided - does-not-exist`,
|
||||
message: `Requested sales channel is not part of the publishable key mappings`,
|
||||
type: "invalid_data",
|
||||
})
|
||||
})
|
||||
@@ -331,7 +331,7 @@ medusaIntegrationTestRunner({
|
||||
|
||||
expect(error.response.status).toEqual(400)
|
||||
expect(error.response.data).toEqual({
|
||||
message: `Invalid sales channel filters provided - ${salesChannel2.id}`,
|
||||
message: `Requested sales channel is not part of the publishable key mappings`,
|
||||
type: "invalid_data",
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user