diff --git a/backend/src/test/kotlin/uk/co/neviyn/observationdatabase/ControllerTest.kt b/backend/src/test/kotlin/uk/co/neviyn/observationdatabase/ControllerTest.kt index 152de08..82150d7 100644 --- a/backend/src/test/kotlin/uk/co/neviyn/observationdatabase/ControllerTest.kt +++ b/backend/src/test/kotlin/uk/co/neviyn/observationdatabase/ControllerTest.kt @@ -71,6 +71,12 @@ class ControllerTest { assertTrue(result.contains(NameValue("Bar", 2))) } + @Test + fun testGetAllTutors_NoTutors(){ + val result = controller.getAllTutors() + assertTrue(result.isEmpty()) + } + @Test fun testAddTutor() { val site = Site(1, "X")