From b2c6927642ce90f7c1b344ee274f7eb509c20f73 Mon Sep 17 00:00:00 2001 From: "Mx. Corey Frang" Date: Wed, 24 Apr 2024 12:11:46 -0400 Subject: [PATCH] update tests to pass --- server/tests/integration/graphql.test.js | 3 ++- server/tests/util/mock-automation-scheduler-server.js | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/server/tests/integration/graphql.test.js b/server/tests/integration/graphql.test.js index 01ab2fd1a..efe2b6b0a 100644 --- a/server/tests/integration/graphql.test.js +++ b/server/tests/integration/graphql.test.js @@ -506,10 +506,11 @@ describe('graphql', () => { releasedAt } } - testPlanRun(id: 3) { + testPlanRun(id: 1) { __typename id initiatedByAutomation + collectionJob { id } testPlanReport { id } diff --git a/server/tests/util/mock-automation-scheduler-server.js b/server/tests/util/mock-automation-scheduler-server.js index 87f267fff..ca9c65ec1 100644 --- a/server/tests/util/mock-automation-scheduler-server.js +++ b/server/tests/util/mock-automation-scheduler-server.js @@ -101,8 +101,6 @@ const setupMockAutomationSchedulerServer = async () => { COLLECTION_JOB_STATUS.ERROR ); } else { - testResult[isV2 ? 'presentationNumber' : 'testCsvRow'] = - currentTest.rowNumber; await axios.post( `${process.env.APP_SERVER}/api/jobs/${jobId}/test/${currentTest.rowNumber}`, testResult,