mirror of
https://github.com/corda/corda.git
synced 2025-03-21 19:45:21 +00:00
[NOTICK] Fix a test error to allow tests to pass in Jenkins (#6202)
This commit is contained in:
parent
2febf13ea4
commit
7db25b8986
@ -42,8 +42,8 @@ class ResourceGeneratorTest {
|
||||
// Now check that all resource files that should be created are
|
||||
val tempDir = createTempDir()
|
||||
resourceGenerator.createResources(missing, tempDir.toPath())
|
||||
val createdFiles = tempDir.walkTopDown().filter { it.isFile && it.extension == "properties" }.map { it.name }.toList()
|
||||
assertEquals(missing, createdFiles)
|
||||
val createdFiles = tempDir.walkTopDown().filter { it.isFile && it.extension == "properties" }.map { it.name }.toSet()
|
||||
assertEquals(missing.toSet(), createdFiles)
|
||||
|
||||
// Now check that a created file has the expected properties and values
|
||||
val properties = Properties()
|
||||
|
Loading…
x
Reference in New Issue
Block a user