This is an automated email from the ASF dual-hosted git repository.
lprimak pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/shiro.git
The following commit(s) were added to refs/heads/main by this push:
new 37aa220ad Fix typos in java integration-tests for jakarta-ee (#2520)
37aa220ad is described below
commit 37aa220adeca6d0c756198587f9d9655f13bcabb
Author: John Bampton <[email protected]>
AuthorDate: Mon Feb 9 04:25:20 2026 +1000
Fix typos in java integration-tests for jakarta-ee (#2520)
---
.../java/org/apache/shiro/testing/cdi/ComponentInjectionBean.java | 2 +-
.../test/java/org/apache/shiro/testing/cdi/ComponentInjectionIT.java | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git
a/integration-tests/jakarta-ee/src/main/java/org/apache/shiro/testing/cdi/ComponentInjectionBean.java
b/integration-tests/jakarta-ee/src/main/java/org/apache/shiro/testing/cdi/ComponentInjectionBean.java
index b7d014407..1360d3dd8 100644
---
a/integration-tests/jakarta-ee/src/main/java/org/apache/shiro/testing/cdi/ComponentInjectionBean.java
+++
b/integration-tests/jakarta-ee/src/main/java/org/apache/shiro/testing/cdi/ComponentInjectionBean.java
@@ -37,7 +37,7 @@ public class ComponentInjectionBean {
Session session;
@Inject
@NoSessionCreation
- Session noCreateionSession;
+ Session noCreationSession;
@Inject
@Principal
Supplier<PropertyPrincipal> propertyPrincipal;
diff --git
a/integration-tests/jakarta-ee/src/test/java/org/apache/shiro/testing/cdi/ComponentInjectionIT.java
b/integration-tests/jakarta-ee/src/test/java/org/apache/shiro/testing/cdi/ComponentInjectionIT.java
index d0e5000f9..9ebc1cb46 100644
---
a/integration-tests/jakarta-ee/src/test/java/org/apache/shiro/testing/cdi/ComponentInjectionIT.java
+++
b/integration-tests/jakarta-ee/src/test/java/org/apache/shiro/testing/cdi/ComponentInjectionIT.java
@@ -99,10 +99,10 @@ public class ComponentInjectionIT {
@OperateOnDeployment(TESTABLE_MODE)
void sessionInjection() {
assertNotNull(injectedComponents.getSession());
- assertNotNull(injectedComponents.getNoCreateionSession());
+ assertNotNull(injectedComponents.getNoCreationSession());
injectedComponents.getSession().setAttribute("hello", "bye");
assertEquals("bye",
injectedComponents.getSession().getAttribute("hello"));
- assertEquals("bye",
injectedComponents.getNoCreateionSession().getAttribute("hello"));
+ assertEquals("bye",
injectedComponents.getNoCreationSession().getAttribute("hello"));
}
@Test