[
https://jira.jboss.org/jira/browse/ARQ-113?page=com.atlassian.jira.plugin...
]
Aslak Knutsen commented on ARQ-113:
-----------------------------------
@RequestScope is only active from right before to right after @Test execution.
TestEnrichment is done in the @Before cycle.
Workaround: @RequestScope beans can be injected as method arguments.
@Test
public void test(@MyQualifier MyRequestScpebean bean , etc etc)
Weld-Embedded container failing @RequestScope
---------------------------------------------
Key: ARQ-113
URL:
https://jira.jboss.org/jira/browse/ARQ-113
Project: Arquillian
Issue Type: Bug
Affects Versions: 1.0.0.Alpha2
Reporter: Aslak Knutsen
Assignee: Aslak Knutsen
Fix For: 1.0.0.Alpha2
Request scoped bean injection fails. No active Request scope
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira