MMKB-5027: tests remove code not needed
This commit is contained in:
parent
af29265e11
commit
44fb96c2b4
@ -141,13 +141,6 @@ public class IntranetUpdateModuleVersionHandlerTest {
|
|||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
utilities.when(() -> VersionUtil.addVersion(Mockito.any(), Mockito.any(), Mockito.any()))
|
|
||||||
.thenAnswer(
|
|
||||||
invocation -> {
|
|
||||||
String version = invocation.getArgument(1, String.class);
|
|
||||||
return appliedUpdates.add(version);
|
|
||||||
}
|
|
||||||
);
|
|
||||||
String testVersion = "123456";
|
String testVersion = "123456";
|
||||||
assertThat(VersionUtil.containsVersion(null, testVersion), equalTo(false));
|
assertThat(VersionUtil.containsVersion(null, testVersion), equalTo(false));
|
||||||
VersionUtil.addVersion(null, testVersion, null);
|
VersionUtil.addVersion(null, testVersion, null);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user