Skip to content

Commit ac0d93c

Browse files
committed
Fix validation on CI
1 parent c32d618 commit ac0d93c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/test/java/org/codehaus/plexus/components/secdispatcher/internal/DefaultSecDispatcherTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ void masterWithSystemPropertyRoundTrip() throws Exception {
8181
@Test
8282
void validate() throws Exception {
8383
saveSec("master", Map.of("source", "system-property:masterPassword", "cipher", AESGCMNoPadding.CIPHER_ALG));
84+
System.setProperty("settings.security", "src/test/legacy/legacy-settings-security-1.xml");
85+
8486
SecDispatcher secDispatcher = construct();
8587
SecDispatcher.ValidationResponse response = secDispatcher.validateConfiguration();
8688
assertTrue(response.isValid());

0 commit comments

Comments
 (0)