mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-02-01 12:19:14 +01:00
Check stored values instead of resulting xml files
This commit is contained in:
@@ -17,7 +17,7 @@ public class InMemoryConfigurationEntryStoreFactory implements ConfigurationEntr
|
||||
return get(name);
|
||||
}
|
||||
|
||||
public InMemoryConfigurationEntryStore get(String name) {
|
||||
public <T> InMemoryConfigurationEntryStore<T> get(String name) {
|
||||
return stores.computeIfAbsent(name, x -> new InMemoryConfigurationEntryStore());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -42,10 +42,6 @@ public class UpdateStepTestUtil {
|
||||
copyTestDatabaseFile(configDir, fileName, targetFileName);
|
||||
}
|
||||
|
||||
public Path getFile(String name) {
|
||||
return tempDir.resolve("config").resolve(name);
|
||||
}
|
||||
|
||||
private void copyTestDatabaseFile(Path configDir, String fileName) throws IOException {
|
||||
Path targetFileName = Paths.get(fileName).getFileName();
|
||||
copyTestDatabaseFile(configDir, fileName, targetFileName.toString());
|
||||
|
||||
Reference in New Issue
Block a user