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(); private final TheoremEntryController theoremEntryController = new TheoremEntryController();
@Test
@Test public void testEnterTheoremPage() {
public void saveTheorem(){ final ModelAndView modelAndView = theoremEntryController.enterTheoremPage();
ModelAndView modelAndView= theoremEntryController.enterTheoremPage();
public void testEnterTheoremPage() {
modelAndView = theoremEntryController.enterTheoremPage();
assertNotNull(modelAndView); assertNotNull(modelAndView);
assertEquals("Theorem", modelAndView.getViewName()); assertEquals("Theorem", modelAndView.getViewName());
} }
}
} }