diff --git a/job-dsl-core/src/test/groovy/javaposse/jobdsl/dsl/helpers/publisher/StaticAnalysisPublisherContextSpec.groovy b/job-dsl-core/src/test/groovy/javaposse/jobdsl/dsl/helpers/publisher/StaticAnalysisPublisherContextSpec.groovy index e57bad021..9a6d6237f 100644 --- a/job-dsl-core/src/test/groovy/javaposse/jobdsl/dsl/helpers/publisher/StaticAnalysisPublisherContextSpec.groovy +++ b/job-dsl-core/src/test/groovy/javaposse/jobdsl/dsl/helpers/publisher/StaticAnalysisPublisherContextSpec.groovy @@ -307,8 +307,8 @@ class StaticAnalysisPublisherContextSpec extends Specification { low[0].value().empty ignoreCase[0].value() == false excludePattern[0].value().empty - healthy[0].value() == null - unHealthy[0].value() == null + healthy[0].value() == '' + unHealthy[0].value() == '' thresholdLimit[0].value() == 'low' defaultEncoding[0].value().empty thresholds[0].value().empty @@ -338,8 +338,8 @@ class StaticAnalysisPublisherContextSpec extends Specification { low[0].value().empty ignoreCase[0].value() == false excludePattern[0].value().empty - healthy[0].value() == null - unHealthy[0].value() == null + healthy[0].value() == '' + unHealthy[0].value() == '' thresholdLimit[0].value() == 'low' defaultEncoding[0].value().empty thresholds[0].value().empty @@ -372,8 +372,8 @@ class StaticAnalysisPublisherContextSpec extends Specification { low[0].value() == 'three' ignoreCase[0].value() == true excludePattern[0].value() == 'bar' - healthy[0].value() == null - unHealthy[0].value() == null + healthy[0].value() == '' + unHealthy[0].value() == '' thresholdLimit[0].value() == 'low' defaultEncoding[0].value().empty thresholds[0].value().empty