Skip to content

Commit

Permalink
SD/feat/#55 changed to @TestPropertySource
Browse files Browse the repository at this point in the history
  • Loading branch information
sarajaned authored and JaafarF committed Aug 12, 2023
1 parent 9c9a30f commit d8da466
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@
import org.flywaydb.core.Flyway;
import org.junit.jupiter.api.BeforeAll;
import org.springframework.test.context.ActiveProfiles;
import org.springframework.test.context.TestPropertySource;
import org.testcontainers.containers.PostgreSQLContainer;
import org.testcontainers.junit.jupiter.Container;
import org.testcontainers.junit.jupiter.Testcontainers;


@Testcontainers
@ActiveProfiles("test")
@TestPropertySource(properties = "spring.datasource.url=jdbc:tc:postgresql:latest:///admin-unit-test")
public abstract class AbstractTestcontainers {

@BeforeAll
Expand Down

0 comments on commit d8da466

Please sign in to comment.