Skip to content

Commit

Permalink
tests: fix breaking tests
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Oct 15, 2024
1 parent c771011 commit b573028
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 24 deletions.
6 changes: 3 additions & 3 deletions integration-tests/api/medusa-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,19 +53,19 @@ module.exports = {
options: { ttl: 0 }, // Cache disabled
},
[Modules.STOCK_LOCATION]: {
resolve: "@medusajs/stock-location-next",
resolve: "@medusajs/stock-location",
options: {},
},
[Modules.INVENTORY]: {
resolve: "@medusajs/inventory-next",
resolve: "@medusajs/inventory",
options: {},
},
[Modules.FILE]: {
resolve: "@medusajs/file",
options: {
providers: [
{
resolve: "@medusajs/file-local-next",
resolve: "@medusajs/file-local",
id: "local",
},
],
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/http/medusa-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ module.exports = defineConfig({
options: {
providers: [
{
resolve: "@medusajs/file-local-next",
resolve: "@medusajs/file-local",
id: "local",
options: {
// This is the directory where we can reliably write in CI environments
Expand Down
4 changes: 2 additions & 2 deletions integration-tests/modules/medusa-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,11 @@ module.exports = {
options: { ttl: 0 }, // Cache disabled
},
[Modules.STOCK_LOCATION]: {
resolve: "@medusajs/stock-location-next",
resolve: "@medusajs/stock-location",
options: {},
},
[Modules.INVENTORY]: {
resolve: "@medusajs/inventory-next",
resolve: "@medusajs/inventory",
options: {},
},
[Modules.PRODUCT]: true,
Expand Down
36 changes: 18 additions & 18 deletions packages/core/utils/src/common/__tests__/define-config.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ describe("defineConfig", function () {
"providers": [
{
"id": "emailpass",
"resolve": "@medusajs/auth-emailpass",
"resolve": "@medusajs/medusa/auth-emailpass",
},
],
},
Expand Down Expand Up @@ -57,7 +57,7 @@ describe("defineConfig", function () {
"providers": [
{
"id": "manual",
"resolve": "@medusajs/fulfillment-manual",
"resolve": "@medusajs/medusa/fulfillment-manual",
},
],
},
Expand All @@ -77,7 +77,7 @@ describe("defineConfig", function () {
],
"name": "Local Notification Provider",
},
"resolve": "@medusajs/notification-local",
"resolve": "@medusajs/medusa/notification-local",
},
],
},
Expand Down Expand Up @@ -167,7 +167,7 @@ describe("defineConfig", function () {
"providers": [
{
"id": "emailpass",
"resolve": "@medusajs/auth-emailpass",
"resolve": "@medusajs/medusa/auth-emailpass",
},
],
},
Expand Down Expand Up @@ -204,7 +204,7 @@ describe("defineConfig", function () {
"providers": [
{
"id": "manual",
"resolve": "@medusajs/fulfillment-manual",
"resolve": "@medusajs/medusa/fulfillment-manual",
},
],
},
Expand All @@ -224,7 +224,7 @@ describe("defineConfig", function () {
],
"name": "Local Notification Provider",
},
"resolve": "@medusajs/notification-local",
"resolve": "@medusajs/medusa/notification-local",
},
],
},
Expand Down Expand Up @@ -322,7 +322,7 @@ describe("defineConfig", function () {
"providers": [
{
"id": "emailpass",
"resolve": "@medusajs/auth-emailpass",
"resolve": "@medusajs/medusa/auth-emailpass",
},
],
},
Expand Down Expand Up @@ -359,7 +359,7 @@ describe("defineConfig", function () {
"providers": [
{
"id": "manual",
"resolve": "@medusajs/fulfillment-manual",
"resolve": "@medusajs/medusa/fulfillment-manual",
},
],
},
Expand All @@ -379,7 +379,7 @@ describe("defineConfig", function () {
],
"name": "Local Notification Provider",
},
"resolve": "@medusajs/notification-local",
"resolve": "@medusajs/medusa/notification-local",
},
],
},
Expand Down Expand Up @@ -478,7 +478,7 @@ describe("defineConfig", function () {
"providers": [
{
"id": "emailpass",
"resolve": "@medusajs/auth-emailpass",
"resolve": "@medusajs/medusa/auth-emailpass",
},
],
},
Expand Down Expand Up @@ -515,7 +515,7 @@ describe("defineConfig", function () {
"providers": [
{
"id": "manual",
"resolve": "@medusajs/fulfillment-manual",
"resolve": "@medusajs/medusa/fulfillment-manual",
},
],
},
Expand All @@ -535,7 +535,7 @@ describe("defineConfig", function () {
],
"name": "Local Notification Provider",
},
"resolve": "@medusajs/notification-local",
"resolve": "@medusajs/medusa/notification-local",
},
],
},
Expand Down Expand Up @@ -622,7 +622,7 @@ describe("defineConfig", function () {
"providers": [
{
"id": "emailpass",
"resolve": "@medusajs/auth-emailpass",
"resolve": "@medusajs/medusa/auth-emailpass",
},
],
},
Expand Down Expand Up @@ -659,7 +659,7 @@ describe("defineConfig", function () {
"providers": [
{
"id": "manual",
"resolve": "@medusajs/fulfillment-manual",
"resolve": "@medusajs/medusa/fulfillment-manual",
},
],
},
Expand All @@ -679,7 +679,7 @@ describe("defineConfig", function () {
],
"name": "Local Notification Provider",
},
"resolve": "@medusajs/notification-local",
"resolve": "@medusajs/medusa/notification-local",
},
],
},
Expand Down Expand Up @@ -769,7 +769,7 @@ describe("defineConfig", function () {
"providers": [
{
"id": "emailpass",
"resolve": "@medusajs/auth-emailpass",
"resolve": "@medusajs/medusa/auth-emailpass",
},
],
},
Expand Down Expand Up @@ -803,7 +803,7 @@ describe("defineConfig", function () {
"providers": [
{
"id": "manual",
"resolve": "@medusajs/fulfillment-manual",
"resolve": "@medusajs/medusa/fulfillment-manual",
},
],
},
Expand All @@ -823,7 +823,7 @@ describe("defineConfig", function () {
],
"name": "Local Notification Provider",
},
"resolve": "@medusajs/notification-local",
"resolve": "@medusajs/medusa/notification-local",
},
],
},
Expand Down

0 comments on commit b573028

Please sign in to comment.