aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJulien HENRY <julien.henry@sonarsource.com>2024-05-03 13:39:43 +0200
committerJulien HENRY <julien.henry@sonarsource.com>2024-05-03 14:48:44 +0200
commit9688ddf5c73288621cb431052196d0e7cae6080c (patch)
treef9a9ba7edfbb10bc72caa74d1c5ae23e25d41403 /src
parent43be745547fcc827761a172136c3f3e9834f5544 (diff)
downloadsonar-scanner-cli-9688ddf5c73288621cb431052196d0e7cae6080c.tar.gz
sonar-scanner-cli-9688ddf5c73288621cb431052196d0e7cae6080c.zip
Remove duplicated test
Diffstat (limited to 'src')
-rw-r--r--src/test/java/org/sonarsource/scanner/cli/ConfTest.java13
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());