From 632da9783ebb78f59382781a5e5b04afb444f09d Mon Sep 17 00:00:00 2001 From: spinnakerbot Date: Fri, 22 Oct 2021 16:24:19 -0400 Subject: [PATCH] chore(dependencies): Autobump korkVersion (#1129) Co-authored-by: root Fix broken tests Update tests Revert changes to test Fix whitespace Revert changes Reset files back to master --- .../echo/notification/GithubNotificationAgentSpec.groovy | 5 +++-- gradle.properties | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) 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