fixed Travis build failed

This commit is contained in:
-
2019-05-01 19:53:11 -06:00
parent 974dc713fa
commit 15449a84f8
@@ -13,20 +13,11 @@ public class TheoremEntryControllerTest {
private final TheoremEntryController theoremEntryController = new TheoremEntryController();
@Test
public void saveTheorem(){
ModelAndView modelAndView= theoremEntryController.enterTheoremPage();
public void testEnterTheoremPage() {
modelAndView = theoremEntryController.enterTheoremPage();
@Test
public void testEnterTheoremPage() {
final ModelAndView modelAndView = theoremEntryController.enterTheoremPage();
assertNotNull(modelAndView);
assertEquals("Theorem", modelAndView.getViewName());
}
}
}