From 2ba64a9b0da7fd55258b6b6daf24c03384a11a35 Mon Sep 17 00:00:00 2001 From: Brendan Chen Date: Mon, 7 Apr 2025 12:18:26 -0700 Subject: [PATCH] attach the context correctly in system resolver tests --- test/resolvers/SystemResolverTests.test.ts | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/test/resolvers/SystemResolverTests.test.ts b/test/resolvers/SystemResolverTests.test.ts index af37384..bf86d8e 100644 --- a/test/resolvers/SystemResolverTests.test.ts +++ b/test/resolvers/SystemResolverTests.test.ts @@ -27,9 +27,7 @@ describe("SystemResolvers", () => { systemId: mockSystem.id, }, }, { - contextValue: { - shuttleRepository: context.systems[0].shuttleRepository, - }, + contextValue: context, }); } @@ -109,9 +107,7 @@ describe("SystemResolvers", () => { stopId: stopId, }, }, { - contextValue: { - shuttleRepository: context.systems[0].shuttleRepository, - } + contextValue: context, }); }