Skip to content

Commit 629e702

Browse files
committed
Execution paths covered by EnforceVersionsIT.pluginSnapshotFail().
1 parent 990128d commit 629e702

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

src/test/java/com/e_gineering/maven/gitflowhelper/MasterSupportBranchIT.java

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -38,22 +38,6 @@ public void snapshotVersionFailure() throws Exception {
3838
}
3939
}
4040

41-
@Test(expected = VerificationException.class)
42-
public void snapshotPluginFailure() throws Exception {
43-
if (System.getProperty("project.version", "").endsWith("-SNAPSHOT")) {
44-
Verifier verifier = createVerifier("/project-stub", "origin/master", "1.0.0");
45-
46-
try {
47-
verifier.executeGoal("gitflow-helper:enforce-versions");
48-
} finally {
49-
verifier.verifyTextInLog("GitBranchInfo:");
50-
verifier.verifyTextInLog("The maven project has the following SNAPSHOT plugin dependencies:");
51-
52-
verifier.resetStreams();
53-
}
54-
}
55-
}
56-
5741
@Test
5842
public void promotionOfRelease() throws Exception {
5943
// Create a release version and get it deployed.

0 commit comments

Comments
 (0)