diff --git a/spring-5/pom.xml b/spring-5/pom.xml
index 701aa3831d..6e4162fbcc 100644
--- a/spring-5/pom.xml
+++ b/spring-5/pom.xml
@@ -89,12 +89,6 @@
org.junit.jupiter
junit-jupiter-api
-
- org.awaitility
- awaitility
- ${awaitility.version}
- test
-
org.springframework.restdocs
@@ -162,7 +156,6 @@
4.1
${project.build.directory}/generated-snippets
2.21.0
- 3.1.6
diff --git a/testing-modules/spring-testing/pom.xml b/testing-modules/spring-testing/pom.xml
index a137bc8d33..630aed0c81 100644
--- a/testing-modules/spring-testing/pom.xml
+++ b/testing-modules/spring-testing/pom.xml
@@ -54,6 +54,18 @@
spring-data-jpa
LATEST
+
+ org.junit.jupiter
+ junit-jupiter
+ ${junit.jupiter.version}
+ test
+
+
+ org.awaitility
+ awaitility
+ ${awaitility.version}
+ test
+
@@ -70,6 +82,8 @@
2.0.0.0
+ 3.1.6
+ 5.4.0
\ No newline at end of file
diff --git a/spring-5/src/main/java/com/baeldung/config/ScheduledConfig.java b/testing-modules/spring-testing/src/main/java/com/baeldung/config/ScheduledConfig.java
similarity index 100%
rename from spring-5/src/main/java/com/baeldung/config/ScheduledConfig.java
rename to testing-modules/spring-testing/src/main/java/com/baeldung/config/ScheduledConfig.java
diff --git a/spring-5/src/main/java/com/baeldung/scheduled/Counter.java b/testing-modules/spring-testing/src/main/java/com/baeldung/scheduled/Counter.java
similarity index 100%
rename from spring-5/src/main/java/com/baeldung/scheduled/Counter.java
rename to testing-modules/spring-testing/src/main/java/com/baeldung/scheduled/Counter.java
diff --git a/spring-5/src/test/java/com/baeldung/scheduled/ScheduledAwaitilityIntegrationTest.java b/testing-modules/spring-testing/src/test/java/com/baeldung/scheduled/ScheduledAwaitilityIntegrationTest.java
similarity index 100%
rename from spring-5/src/test/java/com/baeldung/scheduled/ScheduledAwaitilityIntegrationTest.java
rename to testing-modules/spring-testing/src/test/java/com/baeldung/scheduled/ScheduledAwaitilityIntegrationTest.java
diff --git a/spring-5/src/test/java/com/baeldung/scheduled/ScheduledIntegrationTest.java b/testing-modules/spring-testing/src/test/java/com/baeldung/scheduled/ScheduledIntegrationTest.java
similarity index 100%
rename from spring-5/src/test/java/com/baeldung/scheduled/ScheduledIntegrationTest.java
rename to testing-modules/spring-testing/src/test/java/com/baeldung/scheduled/ScheduledIntegrationTest.java