Corrected test name
This commit is contained in:
parent
7abd2c7a90
commit
9ae1544b22
@ -129,7 +129,7 @@ class GroupSessionControllerTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test(expected = ResponseStatusException::class)
|
@Test(expected = ResponseStatusException::class)
|
||||||
fun testCompleteSession_NonMatchingTitles() {
|
fun testSubmit_NonMatchingTitles() {
|
||||||
val site = Site(1, "Test site")
|
val site = Site(1, "Test site")
|
||||||
Mockito.doReturn(Optional.of(site)).`when`(siteRepository).findById(1)
|
Mockito.doReturn(Optional.of(site)).`when`(siteRepository).findById(1)
|
||||||
Mockito.doReturn(listOf(Tutor(1, "Mr X", site))).`when`(tutorRepository).findAllById(listOf(1))
|
Mockito.doReturn(listOf(Tutor(1, "Mr X", site))).`when`(tutorRepository).findAllById(listOf(1))
|
||||||
|
Loading…
Reference in New Issue
Block a user