diff options
Diffstat (limited to 'plugins/templating/src/test/kotlin/templates')
3 files changed, 3 insertions, 3 deletions
diff --git a/plugins/templating/src/test/kotlin/templates/AddToNavigationCommandResolutionTest.kt b/plugins/templating/src/test/kotlin/templates/AddToNavigationCommandResolutionTest.kt index fb229643..81d39752 100644 --- a/plugins/templating/src/test/kotlin/templates/AddToNavigationCommandResolutionTest.kt +++ b/plugins/templating/src/test/kotlin/templates/AddToNavigationCommandResolutionTest.kt @@ -126,7 +126,7 @@ class AddToNavigationCommandResolutionTest : TemplatingAbstractTest() { val module2Navigation = module2.resolve("navigation.html") module2Navigation.writeText(inputForModule("module2")) - testFromData(configuration, preserveOutputLocation = true) { + testFromData(configuration, useOutputLocationFromConfig = true) { finishProcessingSubmodules = { ctx -> test(ctx) } diff --git a/plugins/templating/src/test/kotlin/templates/AddToSearchCommandResolutionTest.kt b/plugins/templating/src/test/kotlin/templates/AddToSearchCommandResolutionTest.kt index 96fcc8dd..d2ad7e0c 100644 --- a/plugins/templating/src/test/kotlin/templates/AddToSearchCommandResolutionTest.kt +++ b/plugins/templating/src/test/kotlin/templates/AddToSearchCommandResolutionTest.kt @@ -55,7 +55,7 @@ class AddToSearchCommandResolutionTest : TemplatingAbstractTest() { this.outputDir = outputDir } - testFromData(configuration, preserveOutputLocation = true) { + testFromData(configuration, useOutputLocationFromConfig = true) { finishProcessingSubmodules = { _ -> val expected = elements.map { it.copy(location = "module1/${it.location}") } + elements.map { it.copy(location = "module2/${it.location}") } diff --git a/plugins/templating/src/test/kotlin/templates/SubstitutionCommandResolutionTest.kt b/plugins/templating/src/test/kotlin/templates/SubstitutionCommandResolutionTest.kt index 44acf340..c31f63c7 100644 --- a/plugins/templating/src/test/kotlin/templates/SubstitutionCommandResolutionTest.kt +++ b/plugins/templating/src/test/kotlin/templates/SubstitutionCommandResolutionTest.kt @@ -102,7 +102,7 @@ class SubstitutionCommandResolutionTest : TemplatingAbstractTest() { this.outputDir = folder.root } - testFromData(configuration, preserveOutputLocation = true){ + testFromData(configuration, useOutputLocationFromConfig = true){ finishProcessingSubmodules = { assertHtmlEqualsIgnoringWhitespace(expected, testedFile.readText()) } |