Re: NPE when running unit test with struts rest plugin

2020-11-02 Thread Lukasz Lenart
pon., 2 lis 2020 o 14:48 Paul Zepernick napisał(a): > Struts: 5.2.25 > > Plugins: struts2-rest, struts2-spring, struts2-convention > junit 4 > > Did you try to use struts2-junit plugin and based your tests on StrutsJUnit4TestCase? https://struts.apache.org/plugins/junit/ Regards -- Łukasz + 48

NPE when running unit test with struts rest plugin

2020-11-02 Thread Paul Zepernick
Struts: 5.2.25 Plugins: struts2-rest, struts2-spring, struts2-convention junit 4 The test below is currently failing in the RestWorkflowInterceptor 205 @Test public void testValidation() throws Exception { // the login uses the create() which expects the POST method reque