Skip to content

Commit

Permalink
chore(dependencies): Autobump korkVersion (#1129)
Browse files Browse the repository at this point in the history
Co-authored-by: root <root@7848ed6b52c7>

Fix broken tests

Update tests

Revert changes to test

Fix whitespace

Revert changes

Reset files back to master
  • Loading branch information
spinnakerbot authored and dbrougham committed Nov 7, 2021
1 parent 326b725 commit 632da97
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ class GithubNotificationAgentSpec extends Specification {
agent.setGithubService(github)
}


@Unroll
def "sets correct status check for #status status in pipeline events"() {
given:
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 632da97

Please sign in to comment.