Skip to content

Commit

Permalink
Update AuthenticationServiceTest.java
Browse files Browse the repository at this point in the history
  • Loading branch information
nodece authored Jan 13, 2025
1 parent 4134b49 commit 176666b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
import static org.testng.Assert.assertTrue;
import com.google.common.collect.Sets;
import java.io.IOException;
import java.util.LinkedHashSet;
import java.util.Set;
import java.util.concurrent.CompletableFuture;
import javax.naming.AuthenticationException;
Expand Down Expand Up @@ -177,7 +178,7 @@ public void testAuthenticationHttpRequestResponseWithAnonymousRole() throws Exce
@Test
public void testHttpRequestWithMultipleProviders() throws Exception {
ServiceConfiguration config = new ServiceConfiguration();
Set<String> providersClassNames = Sets.newLinkedHashSet();
Set<String> providersClassNames = new LinkedHashSet();
providersClassNames.add(MockAuthenticationProviderAlwaysFail.class.getName());
providersClassNames.add(MockHttpAuthenticationProvider.class.getName());
config.setAuthenticationProviders(providersClassNames);
Expand Down

0 comments on commit 176666b

Please sign in to comment.