Skip to content

Regression

org.appng.core.controller.ControllerTest.testRootWithPath

Failing for the past 1 build (Since Failed#35 )
Took 3 ms.

Error Message

Wanted but not invoked:
response.setStatus(301);
-> at org.appng.core.controller.ControllerTest.testRootWithPath(ControllerTest.java:416)

However, there were other interactions with this mock:
response.getOutputStream();
-> at org.appng.core.controller.ControllerTest.serveResource(ControllerTest.java:566)

response.getStatus();
-> at org.appng.core.controller.Controller.doGet(Controller.java:289)

Stacktrace

org.mockito.exceptions.verification.WantedButNotInvoked: 

Wanted but not invoked:
response.setStatus(301);
-> at org.appng.core.controller.ControllerTest.testRootWithPath(ControllerTest.java:416)

However, there were other interactions with this mock:
response.getOutputStream();
-> at org.appng.core.controller.ControllerTest.serveResource(ControllerTest.java:566)

response.getStatus();
-> at org.appng.core.controller.Controller.doGet(Controller.java:289)


	at org.appng.core.controller.ControllerTest.testRootWithPath(ControllerTest.java:416)

Standard Output

2021-07-01 14:45:56,041 INFO  [main] org.appng.core.controller.Controller: Controller created
2021-07-01 14:45:56,042 INFO  [main] org.appng.api.support.SiteClassLoader: SiteClassLoader#27564824 for site manager with parent sun.misc.Launcher$AppClassLoader#1252169911 created