Merge pull request #12791 from eugenp/keycloack-test

change keycloak test to live test
This commit is contained in:
Loredana Crusoveanu 2022-09-29 16:20:40 +03:00 committed by GitHub
commit abc3e0235e
1 changed files with 2 additions and 1 deletions

View File

@ -20,7 +20,8 @@ import static org.mockito.Mockito.when;
@RunWith(SpringJUnit4ClassRunner.class) @RunWith(SpringJUnit4ClassRunner.class)
@SpringBootTest(classes = SpringBoot.class) @SpringBootTest(classes = SpringBoot.class)
public class KeycloakConfigurationIntegrationTest { //requires running Keycloak server and realm setup as shown in https://www.baeldung.com/spring-boot-keycloak
public class KeycloakConfigurationLiveTest {
@Spy @Spy
private KeycloakSecurityContextClientRequestInterceptor factory; private KeycloakSecurityContextClientRequestInterceptor factory;