Skip to content

Commit

Permalink
MAN-156 - update test
Browse files Browse the repository at this point in the history
  • Loading branch information
achimber-moj committed Nov 15, 2024
1 parent 632e881 commit 691b2b4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ class AppointmentOutcomeIntegrationTest {
.andExpect(MockMvcResultMatchers.status().isOk)

val updatedAppointment = appointmentRepository.findById(response.appointments[0].id).get()

assertEquals("Y", updatedAppointment.attended)
assertEquals(request.notes, updatedAppointment.notes)
assertEquals(ATTENDED_COMPLIED.id, updatedAppointment.outcomeId)
Expand All @@ -119,7 +120,6 @@ class AppointmentOutcomeIntegrationTest {
assertThat(updatedAppointment.probationAreaId, equalTo(createdAppointment.probationAreaId))
assertThat(updatedAppointment.officeLocationId, equalTo(createdAppointment.officeLocationId))


appointmentRepository.delete(updatedAppointment)
}

Expand Down

0 comments on commit 691b2b4

Please sign in to comment.