From 6cf947edf3f03b12369c1dfeeeac4a20326fb0e9 Mon Sep 17 00:00:00 2001 From: admitrov Date: Mon, 30 Dec 2024 21:35:40 +0000 Subject: [PATCH] reorder modules --- .../testcontainer/opensearch/springdata/SpringDataTest.java | 6 +++--- pom.xml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/embedded-opensearch/src/test/java/com/playtika/testcontainer/opensearch/springdata/SpringDataTest.java b/embedded-opensearch/src/test/java/com/playtika/testcontainer/opensearch/springdata/SpringDataTest.java index 2955525c1..f70dce95d 100644 --- a/embedded-opensearch/src/test/java/com/playtika/testcontainer/opensearch/springdata/SpringDataTest.java +++ b/embedded-opensearch/src/test/java/com/playtika/testcontainer/opensearch/springdata/SpringDataTest.java @@ -34,11 +34,11 @@ public void springDataShouldWork() { String key = "test::1"; String value = "myvalue"; assertThat(documentRepository).isNotNull(); - assertThat(documentRepository.findById(key).isPresent()).isFalse(); + assertThat(documentRepository.findById(key)).isEmpty(); TestDocument testDocument = saveDocument(key, value); - assertThat(documentRepository.findById(key).get()).isEqualTo(testDocument); + assertThat(documentRepository.findById(key)).contains(testDocument); } @Test @@ -50,7 +50,7 @@ public void queryShouldWork() { List resultList = documentRepository.findByTitle(title); - assertThat(resultList.size()).isEqualTo(2); + assertThat(resultList).hasSize(2); } @Test diff --git a/pom.xml b/pom.xml index 87cfec332..4e648af2a 100644 --- a/pom.xml +++ b/pom.xml @@ -55,7 +55,6 @@ embedded-minio embedded-google-pubsub embedded-google-storage - embedded-influxdb embedded-vault embedded-oracle-xe embedded-mysql @@ -86,6 +85,7 @@ embedded-mailhog embedded-aerospike-enterprise embedded-spicedb + embedded-influxdb