From 4b700e9b95c3b9b9b111257b6da6c3c3e72e1a6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ralf=20D=2E=20M=C3=BCller?= Date: Fri, 14 Jan 2022 17:43:30 +0100 Subject: [PATCH] fix #295 --- build.gradle | 2 +- .../groovy/org/aim42/htmlsanitycheck/ConfigurationSpec.groovy | 4 ++-- .../htmlsanitycheck/HtmlSanityCheckTaskFunctionalTest.groovy | 2 +- .../htmlsanitycheck/check/BrokenHttpLinksCheckerSpec.groovy | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/build.gradle b/build.gradle index 34799ecf..535be060 100644 --- a/build.gradle +++ b/build.gradle @@ -27,7 +27,7 @@ dependencies { testImplementation( 'junit:junit:4.12', - 'org.spockframework:spock-core:1.2-groovy-2.5') + 'org.spockframework:spock-core:1.3-groovy-2.5') implementation gradleApi() diff --git a/src/test/groovy/org/aim42/htmlsanitycheck/ConfigurationSpec.groovy b/src/test/groovy/org/aim42/htmlsanitycheck/ConfigurationSpec.groovy index 36612cba..49703ad0 100644 --- a/src/test/groovy/org/aim42/htmlsanitycheck/ConfigurationSpec.groovy +++ b/src/test/groovy/org/aim42/htmlsanitycheck/ConfigurationSpec.groovy @@ -8,8 +8,8 @@ import spock.lang.Unroll class ConfigurationSpec extends Specification { - final def CI_FileCheck_Name = "fileToCheck" - final def CI_FileCheck_Value = "index.html" + def CI_FileCheck_Name = "fileToCheck" + def CI_FileCheck_Value = "index.html" private final static HTML_HEADER = """ """ diff --git a/src/test/groovy/org/aim42/htmlsanitycheck/HtmlSanityCheckTaskFunctionalTest.groovy b/src/test/groovy/org/aim42/htmlsanitycheck/HtmlSanityCheckTaskFunctionalTest.groovy index fb2eef15..ece54bf5 100644 --- a/src/test/groovy/org/aim42/htmlsanitycheck/HtmlSanityCheckTaskFunctionalTest.groovy +++ b/src/test/groovy/org/aim42/htmlsanitycheck/HtmlSanityCheckTaskFunctionalTest.groovy @@ -18,7 +18,7 @@ class HtmlSanityCheckTaskFunctionalTest extends Specification { private final static GRADLE_VERSIONS = ['6.8.1'] @Rule - final TemporaryFolder testProjectDir = new TemporaryFolder() + TemporaryFolder testProjectDir = new TemporaryFolder() File buildDir File buildFile File htmlFile diff --git a/src/test/groovy/org/aim42/htmlsanitycheck/check/BrokenHttpLinksCheckerSpec.groovy b/src/test/groovy/org/aim42/htmlsanitycheck/check/BrokenHttpLinksCheckerSpec.groovy index 9ee5570d..ccc93fa7 100644 --- a/src/test/groovy/org/aim42/htmlsanitycheck/check/BrokenHttpLinksCheckerSpec.groovy +++ b/src/test/groovy/org/aim42/htmlsanitycheck/check/BrokenHttpLinksCheckerSpec.groovy @@ -201,7 +201,7 @@ class BrokenHttpLinksCheckerSpec extends Specification { } - + @Ignore def 'redirects are recognized and their new location is contained in warning message'() { given: "the old arc42 (http!) page "