chore: establish iteration 1 development baseline
This commit is contained in:
@@ -3,9 +3,11 @@ package com.lab.labtimesheet;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.springframework.boot.test.context.SpringBootTest;
|
||||
import org.springframework.context.annotation.Import;
|
||||
import org.springframework.test.context.ActiveProfiles;
|
||||
|
||||
@Import(TestcontainersConfiguration.class)
|
||||
@SpringBootTest
|
||||
@ActiveProfiles("test")
|
||||
class LabtimesheetApplicationTests {
|
||||
|
||||
@Test
|
||||
|
||||
@@ -12,7 +12,7 @@ class TestcontainersConfiguration {
|
||||
@Bean
|
||||
@ServiceConnection
|
||||
PostgreSQLContainer postgresContainer() {
|
||||
return new PostgreSQLContainer(DockerImageName.parse("postgres:latest"));
|
||||
return new PostgreSQLContainer(DockerImageName.parse("postgres:18.4"));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
spring:
|
||||
docker:
|
||||
compose:
|
||||
enabled: false
|
||||
Reference in New Issue
Block a user