mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-07-03 22:19:54 +02:00
Fix handling of snapshot plugin dependencies
This commit is contained in:
@@ -144,6 +144,17 @@ class PluginInstallationVerifierTest {
|
||||
PluginInstallationVerifier.verify(context, descriptor);
|
||||
}
|
||||
|
||||
@Test
|
||||
@SuppressWarnings("squid:S2699") // we are happy if no exception is thrown
|
||||
void shouldVerifyPluginWithSnapshotDependencies() {
|
||||
matchConditions();
|
||||
|
||||
PluginInstallationContext context = mockInstallationOf(IID_PLUGIN, "1.0.0-SNAPSHOT");
|
||||
mockDependingOf(IID_PLUGIN, "1.0.0-20201022.094711-15");
|
||||
|
||||
PluginInstallationVerifier.verify(context, descriptor);
|
||||
}
|
||||
|
||||
@Test
|
||||
@SuppressWarnings("squid:S2699") // we are happy if no exception is thrown
|
||||
void shouldVerifyPluginWithOptionalDependency() {
|
||||
|
||||
Reference in New Issue
Block a user