chore(test): suppress false-positive resource leak warning
This commit is contained in:
@@ -20,6 +20,7 @@ import org.testcontainers.junit.jupiter.Testcontainers;
|
|||||||
@Testcontainers
|
@Testcontainers
|
||||||
class UserDaoIntegrationTest {
|
class UserDaoIntegrationTest {
|
||||||
|
|
||||||
|
@SuppressWarnings("resource")
|
||||||
@Container
|
@Container
|
||||||
static final PostgreSQLContainer<?> POSTGRES =
|
static final PostgreSQLContainer<?> POSTGRES =
|
||||||
new PostgreSQLContainer<>("postgres:16-alpine")
|
new PostgreSQLContainer<>("postgres:16-alpine")
|
||||||
|
|||||||
Reference in New Issue
Block a user