Skip to content

Commit

Permalink
test: verbose db logging
Browse files Browse the repository at this point in the history
  • Loading branch information
olivermrbl committed Oct 17, 2023
1 parent c29109c commit d0354a5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import path from "path"
import { initDb, useDb } from "../../../../environment-helpers/use-db"
import { bootstrapApp } from "../../../../environment-helpers/bootstrap-app"
import { ModuleRegistrationName } from "@medusajs/modules-sdk"
import { IInventoryService, WorkflowTypes } from "@medusajs/types"
import {
createInventoryItems,
CreateInventoryItemActions,
createInventoryItems,
pipe,
} from "@medusajs/workflows"
import { IInventoryService, WorkflowTypes } from "@medusajs/types"
import { ModuleRegistrationName } from "@medusajs/modules-sdk"
import path from "path"
import { bootstrapApp } from "../../../../environment-helpers/bootstrap-app"
import { initDb, useDb } from "../../../../environment-helpers/use-db"

describe("CreateInventoryItem workflow", function () {
let medusaProcess
Expand Down
3 changes: 2 additions & 1 deletion integration-tests/plugins/medusa-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,10 @@ module.exports = {
// redis_url: REDIS_URL,
database_url: DB_URL,
database_type: "postgres",
database_logging: true,
jwt_secret: "test",
cookie_secret: "test",
database_extra: { idle_in_transaction_session_timeout: 0 },
database_extra: { idle_in_transaction_session_timeout: 0, max: 20 },
},
featureFlags: {
workflows: {
Expand Down

0 comments on commit d0354a5

Please sign in to comment.