diff --git a/pom.xml b/pom.xml index bd930583..fae96e01 100644 --- a/pom.xml +++ b/pom.xml @@ -102,6 +102,29 @@ org.springframework.boot spring-boot-maven-plugin + + org.codehaus.mojo + exec-maven-plugin + 3.1.0 + + + docker-down + + exec + + + docker + + compose + -f + docker-compose.dev.yml + down + -v + + + + + diff --git a/src/test/java/com/petshop/backend/config/RunConfigValidationTest.java b/src/test/java/com/petshop/backend/config/RunConfigValidationTest.java index 3714a29f..88851bae 100644 --- a/src/test/java/com/petshop/backend/config/RunConfigValidationTest.java +++ b/src/test/java/com/petshop/backend/config/RunConfigValidationTest.java @@ -53,14 +53,14 @@ class RunConfigValidationTest { // Expected module name in run configs should match artifactId assertEquals("backend", artifactId, - "pom.xml artifactId has changed. Update .idea/runConfigurations/PetshopBackendApplication.xml module name to match."); + "pom.xml artifactId has changed. Update run configuration files if needed."); } @Test void runConfigurationFileExists() { - File runConfigFile = new File(".idea/runConfigurations/PetshopBackendApplication.xml"); + File runConfigFile = new File(".idea/runConfigurations/Pet_Shop_Application.xml"); assertTrue(runConfigFile.exists(), - "Run configuration file missing. Ensure .idea/runConfigurations/ directory is committed to Git."); + "Main run configuration file missing. Ensure .idea/runConfigurations/ directory is committed to Git."); } @Test