remove booking+hosting profile references

This commit is contained in:
Michael Hoennig 2025-01-20 10:23:44 +01:00
parent 9d30fea021
commit f026785812
7 changed files with 7 additions and 7 deletions

View File

@ -46,7 +46,7 @@ import static org.hamcrest.Matchers.matchesRegex;
webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT,
classes = { HsadminNgApplication.class, DisableSecurityConfig.class, JpaAttempt.class }
)
@ActiveProfiles({"test", "booking", "hosting"})
@ActiveProfiles("test")
@Transactional
@TestClassOrder(ClassOrderer.OrderAnnotation.class) // fail early on fetching problems
class HsBookingItemControllerAcceptanceTest extends ContextBasedTestWithCleanup {

View File

@ -42,7 +42,7 @@ import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.
@WebMvcTest(HsBookingItemController.class)
@Import({StrictMapper.class, JsonObjectMapperConfiguration.class, DisableSecurityConfig.class})
@RunWith(SpringRunner.class)
@ActiveProfiles({"test", "booking", "hosting"})
@ActiveProfiles("test")
class HsBookingItemControllerRestTest {
@Autowired

View File

@ -27,7 +27,7 @@ import static org.hamcrest.Matchers.matchesRegex;
webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT,
classes = { HsadminNgApplication.class, DisableSecurityConfig.class, JpaAttempt.class }
)
@ActiveProfiles({"test", "booking", "hosting"})
@ActiveProfiles("test")
@Transactional
class HsBookingProjectControllerAcceptanceTest extends ContextBasedTestWithCleanup {

View File

@ -47,7 +47,7 @@ import static org.hamcrest.Matchers.matchesRegex;
webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT,
classes = { HsadminNgApplication.class, DisableSecurityConfig.class, DisableSecurityConfig.class, JpaAttempt.class }
)
@ActiveProfiles({"test", "hosting"})
@ActiveProfiles("test")
@TestClassOrder(ClassOrderer.OrderAnnotation.class) // fail early on fetching problems
class HsHostingAssetControllerAcceptanceTest extends ContextBasedTestWithCleanup {

View File

@ -56,7 +56,7 @@ import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.
@WebMvcTest(HsHostingAssetController.class)
@Import({ StrictMapper.class, JsonObjectMapperConfiguration.class, DisableSecurityConfig.class })
@RunWith(SpringRunner.class)
@ActiveProfiles({"test", "hosting"})
@ActiveProfiles("test")
public class HsHostingAssetControllerRestTest {
@Autowired

View File

@ -15,7 +15,7 @@ import static net.hostsharing.hsadminng.test.JsonMatcher.lenientlyEquals;
webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT,
classes = { HsadminNgApplication.class, DisableSecurityConfig.class, JpaAttempt.class }
)
@ActiveProfiles({"test", "hosting"})
@ActiveProfiles("test")
class HsHostingAssetPropsControllerAcceptanceTest {
@LocalServerPort

View File

@ -37,7 +37,7 @@ spring:
liquibase:
change-log: classpath:/db/changelog/db.changelog-master.yaml
contexts: tc,test,dev,pg_stat_statements,rbac-test,office,office-test,booking,booking-test,hosting,hosting-test
contexts: tc,test,dev,pg_stat_statements
# keep this in sync with main/.../application.yml
springdoc: