Match the doctor-visit resource read signature in its gate test

This commit is contained in:
Marc-André Bombeck committed 2026-07-19 03:22:19 +02:00
1 parent bb41b1673e
commit 8e94f6cb20
1 file changed
+2 -2
@@ -103,7 +103,7 @@ describe("doctor-visit aggregate — doctorReport module gate", () => {
describe.each([
{
name: "fixed resource",
run: () => fixedResource.read(ctx, {}),
run: () => fixedResource.read(ctx),
},
{
name: "windowed template",
@@ -142,7 +142,7 @@ describe("doctor-visit aggregate — doctorReport module gate", () => {
});
it("gates on doctorReport specifically", async () => {
await fixedResource.read(ctx, {});
await fixedResource.read(ctx);
expect(isModuleEnabled).toHaveBeenCalledWith("u1", "doctorReport");
});
});