Skip to content

Commit 25dbfc7

Browse files
author
Vincent Potucek
committed
Pull apache#2292: test DefaultModelProcessor#read
1 parent 0f571b3 commit 25dbfc7

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

impl/maven-impl/src/test/java/org/apache/maven/impl/model/DefaultModelProcessorTest.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -201,12 +201,6 @@ void locateExistingPomWithPomFile() throws IOException {
201201
new DefaultModelProcessor(mock(ModelXmlFactory.class), List.of()).locateExistingPom(testPomFile));
202202
}
203203

204-
@Test
205-
void locateExistingPomWithNullProjectAndNoPomInUserDirShouldReturnNull() {
206-
System.setProperty("user.dir", tempDir.toString());
207-
assertNull(new DefaultModelProcessor(mock(ModelXmlFactory.class), List.of()).locateExistingPom(null));
208-
}
209-
210204
@Test
211205
void locateExistingPomShouldAcceptPomInProjectDirectory() {
212206
Path projectDir = Path.of("project");

0 commit comments

Comments
 (0)