From 9ae1544b2291d654c60136fb2480d173065165f1 Mon Sep 17 00:00:00 2001 From: Nathan Cannon Date: Tue, 5 Mar 2019 11:04:48 +0000 Subject: [PATCH] Corrected test name --- .../controller/GroupSessionControllerTest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))