diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/test/java/org/sonarsource/scanner/cli/ConfTest.java | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/test/java/org/sonarsource/scanner/cli/ConfTest.java b/src/test/java/org/sonarsource/scanner/cli/ConfTest.java index 27e2eab..ea031a0 100644 --- a/src/test/java/org/sonarsource/scanner/cli/ConfTest.java +++ b/src/test/java/org/sonarsource/scanner/cli/ConfTest.java @@ -191,19 +191,6 @@ class ConfTest { } @Test - void shouldNotUseCurrentDir() throws Exception { - Path projectHome = Paths.get(getClass().getResource("ConfTest/shouldLoadModuleConfigurationOverrideBasedir/project").toURI()); - args.setProperty("project.home", projectHome.toAbsolutePath().toString()); - - Properties properties = conf.properties(); - - assertThat(properties.getProperty("module1.sonar.projectName")).isEqualTo("Module 1"); - assertThat(properties.getProperty("module2.sonar.projectName")).isEqualTo("Module 2"); - assertThat(properties.getProperty("module3.sonar.projectName")).isEqualTo("Module 3"); - assertThat(properties.getProperty("sonar.projectBaseDir")).isEqualTo(projectHome.toString()); - } - - @Test void shouldLoadModuleConfigurationWithoutRootConf() throws Exception { Path projectHome = Paths.get(getClass().getResource("ConfTest/shouldLoadModuleConfigurationWithoutRootConf/project").toURI()); args.setProperty("project.home", projectHome.toAbsolutePath().toString()); |