|
@@ -10,7 +10,7 @@ import org.junit.jupiter.api.Test;
|
|
|
import org.junit.jupiter.api.extension.ExtendWith;
|
|
|
import org.mockito.junit.jupiter.MockitoExtension;
|
|
|
|
|
|
-import static org.junit.jupiter.api.Assertions.assertNotNull;
|
|
|
+import static org.junit.jupiter.api.Assertions.assertEquals;
|
|
|
|
|
|
@ExtendWith(MockitoExtension.class)
|
|
|
class FilesControllerTest {
|
|
@@ -23,7 +23,7 @@ class FilesControllerTest {
|
|
|
}
|
|
|
|
|
|
@Test
|
|
|
- void dummyTest(){
|
|
|
- assertNotNull(controller);
|
|
|
+ void dummyFilesReturnsTheCorrectPageTest(){
|
|
|
+ assertEquals("files", controller.getFiles());
|
|
|
}
|
|
|
}
|