Skip to content

Regression

org.appng.core.controller.ControllerTest.testAttachmentWebServiceNoFile

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

Error Message

Wanted but not invoked:
response.setContentType("text/plain");
-> at org.appng.core.controller.ControllerTest.testAttachmentWebServiceNoFile(ControllerTest.java:126)

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.setContentType("text/plain");
-> at org.appng.core.controller.ControllerTest.testAttachmentWebServiceNoFile(ControllerTest.java:126)

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.testAttachmentWebServiceNoFile(ControllerTest.java:126)

Standard Output

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