This is an automated email from the ASF dual-hosted git repository.
more pushed a commit to branch KNOX-3077-2
in repository https://gitbox.apache.org/repos/asf/knox.git
The following commit(s) were added to refs/heads/KNOX-3077-2 by this push:
new e2a04891c KNOX-3077 - Fix checkstyle
e2a04891c is described below
commit e2a04891c6f017ae35ad464c00a2d281fba641dc
Author: Sandeep Moré <[email protected]>
AuthorDate: Tue Feb 25 09:39:14 2025 -0500
KNOX-3077 - Fix checkstyle
---
.../knox/gateway/pac4j/filter/Pac4jDispatcherFilterTest.java | 12 ++++--------
1 file changed, 4 insertions(+), 8 deletions(-)
diff --git
a/gateway-provider-security-pac4j/src/test/java/org/apache/knox/gateway/pac4j/filter/Pac4jDispatcherFilterTest.java
b/gateway-provider-security-pac4j/src/test/java/org/apache/knox/gateway/pac4j/filter/Pac4jDispatcherFilterTest.java
index d5696555d..19d20f427 100644
---
a/gateway-provider-security-pac4j/src/test/java/org/apache/knox/gateway/pac4j/filter/Pac4jDispatcherFilterTest.java
+++
b/gateway-provider-security-pac4j/src/test/java/org/apache/knox/gateway/pac4j/filter/Pac4jDispatcherFilterTest.java
@@ -119,14 +119,12 @@ public class Pac4jDispatcherFilterTest {
setupCommonExpectations(mocks, additionalParams);
EasyMock.expect(mocks.filterConfig.getInitParameter(Pac4jDispatcherFilter.PAC4J_COOKIE_MAX_AGE)).andReturn(expectedCookieMaxAge).anyTimes();
- EasyMock.replay(mocks.context, mocks.services, mocks.cryptoService,
mocks.aliasService,
- mocks.keystoreService, mocks.masterService,
mocks.filterConfig);
+ EasyMock.replay(mocks.context, mocks.services, mocks.cryptoService,
mocks.aliasService, mocks.keystoreService, mocks.masterService,
mocks.filterConfig);
verifyCookiemaxAge(mocks.filterConfig, expectedCookieMaxAge);
// Verify all mock interactions
- EasyMock.verify(mocks.context, mocks.services, mocks.cryptoService,
mocks.aliasService,
- mocks.keystoreService, mocks.masterService,
mocks.filterConfig);
+ EasyMock.verify(mocks.context, mocks.services, mocks.cryptoService,
mocks.aliasService, mocks.keystoreService, mocks.masterService,
mocks.filterConfig);
}
/**
@@ -144,13 +142,11 @@ public class Pac4jDispatcherFilterTest {
TestMocks mocks = createMocks();
setupCommonExpectations(mocks, Collections.EMPTY_LIST);
- EasyMock.replay(mocks.context, mocks.services, mocks.cryptoService,
mocks.aliasService,
- mocks.keystoreService, mocks.masterService,
mocks.filterConfig);
+ EasyMock.replay(mocks.context, mocks.services, mocks.cryptoService,
mocks.aliasService, mocks.keystoreService, mocks.masterService,
mocks.filterConfig);
verifyCookiemaxAge(mocks.filterConfig, expectedCookieMaxAge);
// Verify all mock interactions
- EasyMock.verify(mocks.context, mocks.services, mocks.cryptoService,
mocks.aliasService,
- mocks.keystoreService, mocks.masterService,
mocks.filterConfig);
+ EasyMock.verify(mocks.context, mocks.services, mocks.cryptoService,
mocks.aliasService, mocks.keystoreService, mocks.masterService,
mocks.filterConfig);
}
}