Skip to content

Commit 83dc7b8

Browse files
committed
Mark docker-based tests as integration tests.
There were some "unit tests" that required a running database. This made the `test` goal fail when there is no docker environment. Signed-off-by: Gerrit Meier <meistermeier@gmail.com>
1 parent 5a0a06e commit 83dc7b8

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
*/
3838
@Disabled
3939
@Testcontainers
40-
class ReactiveTemplateExampleTests {
40+
class ReactiveTemplateExampleIT {
4141

4242
@Container
4343
private static Neo4jContainer<?> neo4jContainer = new Neo4jContainer<>("neo4j:5");
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
* @author Michael J. Simons
4747
*/
4848
@Neo4jIntegrationTest
49-
public class TemplateExampleTests {
49+
public class TemplateExampleIT {
5050

5151
protected static Neo4jExtension.Neo4jConnectionSupport neo4jConnectionSupport;
5252

src/test/java/org/springframework/data/neo4j/integration/issues/IssuesIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1862,7 +1862,7 @@ void abstractedRelationshipTypesShouldBeMappedCorrectly(@Autowired Gh2973Reposit
18621862
@Tag("GH-3036")
18631863
@Test
18641864
@EnabledIf("is5OrLater")
1865-
void asdf(@Autowired VehicleRepository repository) {
1865+
void instantiateCorrectEntitiesIfDynamicLabelsAreUsed(@Autowired VehicleRepository repository) {
18661866
var vehicleWithoutDynamicLabels = new Vehicle();
18671867
var vehicleWithOneDynamicLabel = new Vehicle();
18681868
vehicleWithOneDynamicLabel.setLabels(Set.of("label1"));
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
// handling bookmarks
6464
// between fixture and test
6565
@Tag(Neo4jExtension.INCOMPATIBLE_WITH_CLUSTERS)
66-
class ReactiveExceptionTranslationTests {
66+
class ReactiveExceptionTranslationIT {
6767

6868
protected static Neo4jExtension.Neo4jConnectionSupport neo4jConnectionSupport;
6969

0 commit comments

Comments
 (0)