Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependency updates #5647

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 4 additions & 4 deletions clients/github-graphql/src/test/kotlin/GitHubServiceTest.kt
Expand Up @@ -34,7 +34,7 @@ import io.kotest.matchers.collections.containExactly
import io.kotest.matchers.collections.containExactlyInAnyOrder
import io.kotest.matchers.collections.shouldHaveSize
import io.kotest.matchers.nulls.beNull
import io.kotest.matchers.result.shouldBeFailureOfType
import io.kotest.matchers.result.shouldBeFailure
import io.kotest.matchers.result.shouldBeSuccess
import io.kotest.matchers.should
import io.kotest.matchers.shouldBe
Expand Down Expand Up @@ -83,7 +83,7 @@ class GitHubServiceTest : WordSpec({

val issuesResult = service.repositoryIssues(REPO_OWNER, REPO_NAME)

issuesResult.shouldBeFailureOfType<ClientRequestException>()
issuesResult.shouldBeFailure<ClientRequestException>()
}

"handle a connection error" {
Expand All @@ -95,7 +95,7 @@ class GitHubServiceTest : WordSpec({

val issuesResult = service.repositoryIssues(REPO_OWNER, REPO_NAME)

issuesResult.shouldBeFailureOfType<ConnectException>()
issuesResult.shouldBeFailure<ConnectException>()
}

"detect errors in the GraphQL result" {
Expand All @@ -111,7 +111,7 @@ class GitHubServiceTest : WordSpec({

val issuesResult = service.repositoryIssues(REPO_OWNER, REPO_NAME)

issuesResult.shouldBeFailureOfType<QueryException>()
issuesResult.shouldBeFailure<QueryException>()
val exception = issuesResult.exceptionOrNull() as QueryException
exception.message should contain("'IssuesQuery' contains errors")
exception.errors shouldHaveSize 1
Expand Down
4 changes: 2 additions & 2 deletions gradle/libs.versions.toml
Expand Up @@ -40,7 +40,7 @@ jruby = "9.3.6.0"
jschAgentProxy = "0.0.7"
jslt = "0.1.12"
jsonSchemaValidator = "1.0.72"
kotest = "5.4.0"
kotest = "5.4.2"
kotlinxCoroutines = "1.6.4"
kotlinxHtml = "0.8.0"
kotlinxSerialization = "1.3.3"
Expand All @@ -51,7 +51,7 @@ log4jApiKotlin = "1.2.0"
maven = "3.8.6"
# @pin this version as it needs to be aligned with "maven".
mavenResolver = "1.7.3"
mockk = "1.12.4"
mockk = "1.12.5"
okhttp = "4.9.3"
poiOoxml = "5.2.2"
postgres = "42.4.1"
Expand Down