From 6e38dc16ae77c352ccd5d482a07ede7455fea6c5 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Fri, 27 Sep 2024 07:45:11 +0200 Subject: [PATCH] fix cassandra test --- .../src/test/scala/docs/javadsl/CassandraSessionSpec.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cassandra/src/test/scala/docs/javadsl/CassandraSessionSpec.scala b/cassandra/src/test/scala/docs/javadsl/CassandraSessionSpec.scala index 7b4c7454fb..f57a736a74 100644 --- a/cassandra/src/test/scala/docs/javadsl/CassandraSessionSpec.scala +++ b/cassandra/src/test/scala/docs/javadsl/CassandraSessionSpec.scala @@ -133,7 +133,7 @@ final class CassandraSessionSpec extends CassandraSpecBase(ActorSystem("Cassandr "selectOne empty" in { val row = await(session.selectOne(s"SELECT count FROM $dataTable WHERE partition = ? and key = ?", "A", "x")) - row.toString mustBe empty + row.isPresent mustBe false } "create indexes" in {