File tree Expand file tree Collapse file tree 3 files changed +37
-0
lines changed
repository-postgresql/src/test/java/org/lfenergy/compas/scl/data/repository/postgresql Expand file tree Collapse file tree 3 files changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ # SPDX-FileCopyrightText: 2025 BearingPoint GmbH
2+ #
3+ # SPDX-License-Identifier: Apache-2.0
4+
15version : ' 3.8'
26
37services :
Original file line number Diff line number Diff line change 1+ <!--
2+ SPDX-FileCopyrightText: 2025 BearingPoint GmbH
3+
4+ SPDX-License-Identifier: Apache-2.0
5+ -->
6+
17# Development
28
39Run application with local postgresql database in development mode:
Original file line number Diff line number Diff line change 1+ // SPDX-FileCopyrightText: 2025 BearingPoint GmbH
2+ //
3+ // SPDX-License-Identifier: Apache-2.0
4+
5+ package org .lfenergy .compas .scl .data .repository .postgresql ;
6+
7+ import org .junit .jupiter .api .BeforeEach ;
8+ import org .junit .jupiter .api .extension .ExtendWith ;
9+ import org .lfenergy .compas .scl .data .repository .AbstractCompasSclDataRepositoryTest ;
10+ import org .lfenergy .compas .scl .data .repository .CompasSclDataRepository ;
11+ import org .mockito .junit .jupiter .MockitoExtension ;
12+
13+
14+ @ ExtendWith ({MockitoExtension .class , PostgreSQLServerJUnitExtension .class })
15+ class SoftDeleteCompasSclDataPostgreSQLRepositoryTest extends AbstractCompasSclDataRepositoryTest {
16+ private SoftDeleteCompasSclDataPostgreSQLRepository repository ;
17+
18+ @ Override
19+ protected CompasSclDataRepository getRepository () {
20+ return repository ;
21+ }
22+
23+ @ BeforeEach
24+ void beforeEach () {
25+ repository = new SoftDeleteCompasSclDataPostgreSQLRepository (PostgreSQLServerJUnitExtension .getDataSource ());
26+ }
27+ }
You can’t perform that action at this time.
0 commit comments