diff --git a/test/groovy/com/sap/piper/versioning/DockerArtifactVersioningTest.groovy b/test/groovy/com/sap/piper/versioning/DockerArtifactVersioningTest.groovy index bf4911719..5a068f3d1 100644 --- a/test/groovy/com/sap/piper/versioning/DockerArtifactVersioningTest.groovy +++ b/test/groovy/com/sap/piper/versioning/DockerArtifactVersioningTest.groovy @@ -20,7 +20,7 @@ class DockerArtifactVersioningTest extends BasePiperTest{ String passedDir - JenkinsReadFileRule jrfr = new JenkinsReadFileRule(this, 'test/resources/versioning/DockerArtifactVersioning') + JenkinsReadFileRule readFileRule = new JenkinsReadFileRule(this, 'test/resources/versioning/DockerArtifactVersioning') JenkinsWriteFileRule writeFileRule = new JenkinsWriteFileRule(this) JenkinsLoggingRule loggingRule = new JenkinsLoggingRule(this) ExpectedException thrown = ExpectedException.none() @@ -28,7 +28,7 @@ class DockerArtifactVersioningTest extends BasePiperTest{ @Rule public RuleChain ruleChain = Rules .getCommonRules(this) - .around(jrfr) + .around(readFileRule) .around(writeFileRule) .around(loggingRule) .around(thrown) diff --git a/test/groovy/com/sap/piper/versioning/GolangArtifactVersioningTest.groovy b/test/groovy/com/sap/piper/versioning/GolangArtifactVersioningTest.groovy index d9a2672dc..09ab46c6c 100644 --- a/test/groovy/com/sap/piper/versioning/GolangArtifactVersioningTest.groovy +++ b/test/groovy/com/sap/piper/versioning/GolangArtifactVersioningTest.groovy @@ -12,13 +12,13 @@ import static org.junit.Assert.assertEquals class GolangArtifactVersioningTest extends BasePiperTest{ - JenkinsReadFileRule jrfr = new JenkinsReadFileRule(this, 'test/resources/versioning/GolangArtifactVersioning/') + JenkinsReadFileRule readFileRule = new JenkinsReadFileRule(this, 'test/resources/versioning/GolangArtifactVersioning/') JenkinsWriteFileRule writeFileRule = new JenkinsWriteFileRule(this) @Rule public RuleChain ruleChain = Rules .getCommonRules(this) - .around(jrfr) + .around(readFileRule) .around(writeFileRule) @Test diff --git a/test/groovy/com/sap/piper/versioning/PipArtifactVersioningTest.groovy b/test/groovy/com/sap/piper/versioning/PipArtifactVersioningTest.groovy index a8b42d990..752c8ed0e 100644 --- a/test/groovy/com/sap/piper/versioning/PipArtifactVersioningTest.groovy +++ b/test/groovy/com/sap/piper/versioning/PipArtifactVersioningTest.groovy @@ -12,13 +12,13 @@ import static org.junit.Assert.assertEquals class PipArtifactVersioningTest extends BasePiperTest{ - JenkinsReadFileRule jrfr = new JenkinsReadFileRule(this, 'test/resources/versioning/PipArtifactVersioning/') + JenkinsReadFileRule readFileRule = new JenkinsReadFileRule(this, 'test/resources/versioning/PipArtifactVersioning/') JenkinsWriteFileRule writeFileRule = new JenkinsWriteFileRule(this) @Rule public RuleChain ruleChain = Rules .getCommonRules(this) - .around(jrfr) + .around(readFileRule) .around(writeFileRule) @Test