docs: fixes to testing tool guides (#8981)

This commit is contained in:
Shahed Nasser
2024-09-04 21:24:49 +03:00
committed by GitHub
parent 1d54e8fdc1
commit 951b4a8100
2 changed files with 6 additions and 4 deletions

View File

@@ -78,7 +78,9 @@ import { moduleIntegrationTestRunner } from "medusa-test-utils"
import HelloModuleService from "../service"
import { model } from "@medusajs/utils"
const DummyModel = model.define("dummy_model", {})
const DummyModel = model.define("dummy_model", {
id: model.id().primaryKey()
})
moduleIntegrationTestRunner<HelloModuleService>({
moduleModels: [DummyModel],