diff --git a/backend/src/test/kotlin/uk/co/neviyn/observationdatabase/controller/GroupSessionControllerTest.kt b/backend/src/test/kotlin/uk/co/neviyn/observationdatabase/controller/GroupSessionControllerTest.kt index f47682f..ab9a876 100644 --- a/backend/src/test/kotlin/uk/co/neviyn/observationdatabase/controller/GroupSessionControllerTest.kt +++ b/backend/src/test/kotlin/uk/co/neviyn/observationdatabase/controller/GroupSessionControllerTest.kt @@ -129,7 +129,7 @@ class GroupSessionControllerTest { } @Test(expected = ResponseStatusException::class) - fun testCompleteSession_NonMatchingTitles() { + fun testSubmit_NonMatchingTitles() { val site = Site(1, "Test site") Mockito.doReturn(Optional.of(site)).`when`(siteRepository).findById(1) Mockito.doReturn(listOf(Tutor(1, "Mr X", site))).`when`(tutorRepository).findAllById(listOf(1))