chore: establish iteration 1 development baseline

This commit is contained in:
sechmachine
2026-08-14 23:22:31 +07:00
parent 55a8ce675f
commit 5967f7f70d
12 changed files with 300 additions and 2 deletions
@@ -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"));
}
}
+4
View File
@@ -0,0 +1,4 @@
spring:
docker:
compose:
enabled: false