diff --git a/spring-security-login-and-registration/pom.xml b/spring-security-login-and-registration/pom.xml index c1903177da..df7e639660 100644 --- a/spring-security-login-and-registration/pom.xml +++ b/spring-security-login-and-registration/pom.xml @@ -179,6 +179,7 @@ org.apache.maven.plugins maven-compiler-plugin + ${maven-compiler-plugin.version} ${java-version} ${java-version} @@ -188,6 +189,7 @@ org.apache.maven.plugins maven-war-plugin + ${maven-war-plugin.version} @@ -211,6 +213,22 @@ + + org.apache.maven.plugins + maven-surefire-plugin + ${maven-surefire-plugin.version} + + true + + **/*IntegrationTest.java + **/*LiveTest.java + + + + + + + @@ -235,8 +253,11 @@ 18.0 - - 1.4.15 + + 1.4.16 + 3.3 + 2.6 + 2.18.1 diff --git a/spring-security-login-and-registration/src/test/java/org/baeldung/test/ChangePasswordApiTest.java b/spring-security-login-and-registration/src/test/java/org/baeldung/test/ChangePasswordLiveTest.java similarity index 99% rename from spring-security-login-and-registration/src/test/java/org/baeldung/test/ChangePasswordApiTest.java rename to spring-security-login-and-registration/src/test/java/org/baeldung/test/ChangePasswordLiveTest.java index 81726fd7d4..05377d5578 100644 --- a/spring-security-login-and-registration/src/test/java/org/baeldung/test/ChangePasswordApiTest.java +++ b/spring-security-login-and-registration/src/test/java/org/baeldung/test/ChangePasswordLiveTest.java @@ -27,7 +27,7 @@ import com.jayway.restassured.specification.RequestSpecification; @RunWith(SpringJUnit4ClassRunner.class) @ContextConfiguration(classes = { ConfigTest.class, PersistenceJPAConfig.class }, loader = AnnotationConfigContextLoader.class) -public class ChangePasswordApiTest { +public class ChangePasswordLiveTest { private final String URL_PREFIX = "http://localhost:8080/spring-security-login-and-registration"; private final String URL = URL_PREFIX + "/user/updatePassword"; diff --git a/spring-security-login-and-registration/src/test/java/org/baeldung/test/SpringSecurityRolesTest.java b/spring-security-login-and-registration/src/test/java/org/baeldung/test/SpringSecurityRolesIntegrationTest.java similarity index 98% rename from spring-security-login-and-registration/src/test/java/org/baeldung/test/SpringSecurityRolesTest.java rename to spring-security-login-and-registration/src/test/java/org/baeldung/test/SpringSecurityRolesIntegrationTest.java index 77a67d17d7..978497fabd 100644 --- a/spring-security-login-and-registration/src/test/java/org/baeldung/test/SpringSecurityRolesTest.java +++ b/spring-security-login-and-registration/src/test/java/org/baeldung/test/SpringSecurityRolesIntegrationTest.java @@ -26,7 +26,7 @@ import org.springframework.transaction.annotation.Transactional; @ContextConfiguration(classes = { TestConfig.class }, loader = AnnotationConfigContextLoader.class) @Transactional @TransactionConfiguration -public class SpringSecurityRolesTest { +public class SpringSecurityRolesIntegrationTest { @Autowired private UserRepository userRepository;