From d9ddb36de9b4a5c483ef2455d2ae5c81e1163c28 Mon Sep 17 00:00:00 2001 From: Rafael Bey Date: Tue, 11 Jun 2024 16:30:29 -0400 Subject: [PATCH] Fix test case --- .../java/org/finos/legend/sdlc/entities/TestEntityMojo.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legend-sdlc-entity-maven-plugin/src/test/java/org/finos/legend/sdlc/entities/TestEntityMojo.java b/legend-sdlc-entity-maven-plugin/src/test/java/org/finos/legend/sdlc/entities/TestEntityMojo.java index 7583b0df66..3598b668a3 100644 --- a/legend-sdlc-entity-maven-plugin/src/test/java/org/finos/legend/sdlc/entities/TestEntityMojo.java +++ b/legend-sdlc-entity-maven-plugin/src/test/java/org/finos/legend/sdlc/entities/TestEntityMojo.java @@ -279,7 +279,7 @@ public void testMultipleSourceDirectoriesWithConflict() throws Exception Path srcMain = projectDir.toPath().resolve("src").resolve("main"); TestHelper.copyResourceDirectoryTree("simple-json-model", Files.createDirectories(srcMain.resolve("legend"))); - TestHelper.copyResourceDirectoryTree("simple-pure-model/model/domain/enums", Files.createDirectories(srcMain.resolve("pure"))); + TestHelper.copyResourceDirectoryTree("simple-pure-model/model/domain/enums", Files.createDirectories(srcMain.resolve(Paths.get("pure", "model", "domain", "enums")))); TestHelper.assertDirectoryEmptyOrNonExistent(outputDir); String expectedMessage = "Error reserializing entities from " + srcMain.resolve("pure") + " using serializer \"pure\" to " + outputDir + ": Error serializing entity 'model::domain::enums::AddressType' to " + outputDir.resolve(Paths.get("entities", "model", "domain", "enums", "AddressType.json")) + ": target file already exists";