diff --git a/echo-notifications/src/test/groovy/com/netflix/spinnaker/echo/notification/GithubNotificationAgentSpec.groovy b/echo-notifications/src/test/groovy/com/netflix/spinnaker/echo/notification/GithubNotificationAgentSpec.groovy index 6f1da0959..5ddf199b0 100644 --- a/echo-notifications/src/test/groovy/com/netflix/spinnaker/echo/notification/GithubNotificationAgentSpec.groovy +++ b/echo-notifications/src/test/groovy/com/netflix/spinnaker/echo/notification/GithubNotificationAgentSpec.groovy @@ -42,6 +42,7 @@ class GithubNotificationAgentSpec extends Specification { agent.setGithubService(github) } + @Unroll def "sets correct status check for #status status in pipeline events"() { given: @@ -59,7 +60,7 @@ class GithubNotificationAgentSpec extends Specification { then: actualMessage.get().getDescription() ==~ expectedDescription actualMessage.get().getTarget_url() == "http://spinnaker.io/#/applications/whatever/executions/details/1?pipeline=foo-pipeline" - actualMessage.get().getContext() ==~ "whatever/pipeline/foo-pipeline" + actualMessage.get().getContext() ==~ "pipeline/foo-pipeline" where: status || expectedDescription @@ -108,7 +109,7 @@ class GithubNotificationAgentSpec extends Specification { then: actualMessage.get().getDescription() == expectedDescription actualMessage.get().getTarget_url() == "http://spinnaker.io/#/applications/whatever/executions/details/1?pipeline=foo-pipeline&stage=1" - actualMessage.get().getContext() == "whatever/foo-pipeline/stage/second stage" + actualMessage.get().getContext() == "stage/second stage" where: status || expectedDescription diff --git a/gradle.properties b/gradle.properties index f8b078fb0..c7d12dea6 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,5 @@ fiatVersion=1.28.0 -korkVersion=7.121.0 +korkVersion=7.123.0 kotlinVersion=1.4.0 org.gradle.parallel=true spinnakerGradleVersion=8.15.0