Skip to content

Regression

org.appng.core.controller.ControllerTest.testRoot

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.testRoot(ControllerTest.java:404)

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.testRoot(ControllerTest.java:404)

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.testRoot(ControllerTest.java:404)

Standard Output

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