Skip to content

Commit 11a87e8

Browse files
committed
Fix test after rebase
1 parent f78491f commit 11a87e8

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

backend/src/test/java/gov/cdc/usds/simplereport/service/TestOrderServiceTest.java

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -268,14 +268,8 @@ void roundTripToAims() {
268268
verify(patientLinkService).createPatientLink(any());
269269

270270
// make sure the corrected event is sent to storage queue
271-
verify(testEventReportingService).report(any());
272271
verify(fhirQueueReportingService).report(any());
273-
verify(hl7QueueReportingService).report(testEventArgumentCaptor.capture());
274-
275-
TestEvent sentEvent = testEventArgumentCaptor.getValue();
276-
TestResult testResult = sentEvent.getCovidTestResult().get();
277-
assertThat(sentEvent.getPatient().getInternalId()).isEqualTo(patient.getInternalId());
278-
assertThat(testResult).isEqualTo(TestResult.POSITIVE);
272+
verify(hl7QueueReportingService).report(any());
279273
}
280274

281275
@Test

0 commit comments

Comments
 (0)