From b5d6b20f4c538745f3a085185f4c235a090266bd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 6 Oct 2023 10:54:05 +0200 Subject: [PATCH] chore(deps-dev): Bump com.willowtreeapps.assertk:assertk-jvm from 0.26.1 to 0.27.0 (#627) * chore(deps-dev): Bump com.willowtreeapps.assertk:assertk-jvm Bumps [com.willowtreeapps.assertk:assertk-jvm](https://github.com/willowtreeapps/assertk) from 0.26.1 to 0.27.0. - [Release notes](https://github.com/willowtreeapps/assertk/releases) - [Changelog](https://github.com/willowtreeapps/assertk/blob/main/CHANGELOG.md) - [Commits](https://github.com/willowtreeapps/assertk/compare/v0.26.1...v0.27.0) --- updated-dependencies: - dependency-name: com.willowtreeapps.assertk:assertk-jvm dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * fix: incompatible API --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Bednar --- CHANGELOG.md | 1 + client-kotlin/pom.xml | 2 +- .../kotlin/com/influxdb/client/kotlin/ITQueryKotlinApi.kt | 8 ++++---- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f9c2231f1ca..c8b4dbda5cd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ Update dependencies: - [#618](https://github.com/influxdata/influxdb-client-java/pull/618): `maven-enforcer-plugin` to `3.4.0` - [#621](https://github.com/influxdata/influxdb-client-java/pull/621): `dokka-maven-plugin` to `1.9.0` - [#628](https://github.com/influxdata/influxdb-client-java/pull/628): `versions-maven-plugin` to `2.16.1` + - [#627](https://github.com/influxdata/influxdb-client-java/pull/627): `assertk-jvm` to `0.27.0` #### Test: - [#620](https://github.com/influxdata/influxdb-client-java/pull/620): `logback-classic` to `1.3.11` diff --git a/client-kotlin/pom.xml b/client-kotlin/pom.xml index cdf7f7a7e45..85fd6e7c386 100644 --- a/client-kotlin/pom.xml +++ b/client-kotlin/pom.xml @@ -205,7 +205,7 @@ com.willowtreeapps.assertk assertk-jvm - 0.26.1 + 0.27.0 test diff --git a/client-kotlin/src/test/kotlin/com/influxdb/client/kotlin/ITQueryKotlinApi.kt b/client-kotlin/src/test/kotlin/com/influxdb/client/kotlin/ITQueryKotlinApi.kt index ad717df6dd2..4f25e76791f 100644 --- a/client-kotlin/src/test/kotlin/com/influxdb/client/kotlin/ITQueryKotlinApi.kt +++ b/client-kotlin/src/test/kotlin/com/influxdb/client/kotlin/ITQueryKotlinApi.kt @@ -21,13 +21,13 @@ */ package com.influxdb.client.kotlin +import assertk.assertFailure import assertk.assertThat import assertk.assertions.contains import assertk.assertions.containsExactly import assertk.assertions.hasSize import assertk.assertions.isEmpty import assertk.assertions.isEqualTo -import assertk.assertions.isFailure import assertk.assertions.isInstanceOf import assertk.assertions.isTrue import assertk.assertions.startsWith @@ -271,9 +271,9 @@ internal class ITQueryKotlinApi : AbstractITInfluxDBClientKotlin() { val channel = clientNotRunning.getQueryKotlinApi().query(flux, organization.id) - assertThat { + assertFailure { runBlocking { channel.toList() } - }.isFailure().isInstanceOf(ConnectException::class.java) + }.isInstanceOf(ConnectException::class.java) assertThat(channel.isClosedForReceive).isTrue() assertThat(channel.isClosedForSend).isTrue() @@ -333,4 +333,4 @@ internal class ITQueryKotlinApi : AbstractITInfluxDBClientKotlin() { @Column(name = "_time", timestamp = true) internal var time: Instant? = null } -} \ No newline at end of file +}