Fix bug in testing with multiple contexts for the same version
This commit is contained in:
parent
f732c7bf0c
commit
1ad12a4396
|
@ -67,6 +67,7 @@ public class TestingUtilities {
|
||||||
return context("4.0.1");
|
return context("4.0.1");
|
||||||
}
|
}
|
||||||
public static IWorkerContext context(String version) {
|
public static IWorkerContext context(String version) {
|
||||||
|
version = VersionUtilities.getMajMin(version);
|
||||||
if (fcontexts == null) {
|
if (fcontexts == null) {
|
||||||
fcontexts = new HashMap<>();
|
fcontexts = new HashMap<>();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue