active profile cleanup

This commit is contained in:
Michael Hoennig 2025-02-03 17:03:13 +01:00
parent f8d656f523
commit b1f5f4e40e
2 changed files with 2 additions and 2 deletions

View File

@ -92,7 +92,7 @@ import static org.springframework.test.context.jdbc.Sql.ExecutionPhase.BEFORE_TE
}) })
@DirtiesContext @DirtiesContext
@Import({ Context.class, JpaAttempt.class, LiquibaseConfig.class }) @Import({ Context.class, JpaAttempt.class, LiquibaseConfig.class })
@ActiveProfiles({ "without-test-data", "liquibase-migration-test" }) @ActiveProfiles({ "without-test-data", "liquibase-migration" })
@TestMethodOrder(MethodOrderer.OrderAnnotation.class) @TestMethodOrder(MethodOrderer.OrderAnnotation.class)
@ExtendWith(OrderedDependedTestsExtension.class) @ExtendWith(OrderedDependedTestsExtension.class)
@Sql(value = "/db/released-only-office-schema-with-import-test-data.sql", executionPhase = BEFORE_TEST_CLASS) @Sql(value = "/db/released-only-office-schema-with-import-test-data.sql", executionPhase = BEFORE_TEST_CLASS)

View File

@ -56,7 +56,7 @@ import java.io.File;
"hsadminng.superuser=${HSADMINNG_SUPERUSER:import-superuser@hostsharing.net}", "hsadminng.superuser=${HSADMINNG_SUPERUSER:import-superuser@hostsharing.net}",
"spring.liquibase.contexts=only-office,without-test-data" "spring.liquibase.contexts=only-office,without-test-data"
}) })
@ActiveProfiles({"without-test-data"}) @ActiveProfiles("without-test-data")
@DirtiesContext @DirtiesContext
@Import({ Context.class, JpaAttempt.class }) @Import({ Context.class, JpaAttempt.class })
@TestMethodOrder(MethodOrderer.OrderAnnotation.class) @TestMethodOrder(MethodOrderer.OrderAnnotation.class)