pon., 9 lis 2020 o 14:38 Paul Zepernick
napisał(a):
>
> Thank you very much, this has resolved the issue! I have created a ticket in
> Jira.
>
> https://issues.apache.org/jira/browse/WW-5095
Great, thanks a lot!
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
--
: Saturday, November 7, 2020 8:51 AM
To: Struts Users Mailing List
Subject: Re: NPE when running unit test with struts rest plugin
NOTICE: This email originated from outside of the organization. Do not click
links or open attachments unless you recognize the sender and know the content
is safe.
śr
śr., 4 lis 2020 o 17:29 Paul Zepernick
napisał(a):
> I have posted an example project that reproduces the error in the junit test
>
> https://github.com/zepernick/struts25-rest-junit
I think I have found the problem, mapping is not set in
getActionProxy(), you can fix it by overriding it like thi
Sent: Tuesday, November 3, 2020 2:42 PM
To: Struts Users Mailing List
Subject: RE: NPE when running unit test with struts rest plugin
NOTICE: This email originated from outside of the organization. Do not click
links or open attachments unless you recognize the sender and know the content
is safe
To: Struts Users Mailing List
Subject: Re: NPE when running unit test with struts rest plugin
NOTICE: This email originated from outside of the organization. Do not click
links or open attachments unless you recognize the sender and know the content
is safe.
wt., 3 lis 2020 o 13:24 Paul
wt., 3 lis 2020 o 13:24 Paul Zepernick
napisał(a):
> Yes, I am using the struts2-junit plugin and extending
> StrutsSpringJUnit4TestCase from the plugin.
Would you mind preparing a small example and put it on Github?
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
--
, November 3, 2020 1:16 AM
To: Struts Users Mailing List
Subject: Re: NPE when running unit test with struts rest plugin
NOTICE: This email originated from outside of the organization. Do not click
links or open attachments unless you recognize the sender and know the content
is safe.
pon., 2 lis 2020
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
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
9 matches
Mail list logo