Skip to content

Commit

Permalink
reorder modules
Browse files Browse the repository at this point in the history
  • Loading branch information
admitrov committed Dec 30, 2024
1 parent 4ac2c05 commit 6cf947e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -50,7 +50,7 @@ public void queryShouldWork() {

List<TestDocument> resultList = documentRepository.findByTitle(title);

assertThat(resultList.size()).isEqualTo(2);
assertThat(resultList).hasSize(2);
}

@Test
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@
<module>embedded-minio</module>
<module>embedded-google-pubsub</module>
<module>embedded-google-storage</module>
<module>embedded-influxdb</module>
<module>embedded-vault</module>
<module>embedded-oracle-xe</module>
<module>embedded-mysql</module>
Expand Down Expand Up @@ -86,6 +85,7 @@
<module>embedded-mailhog</module>
<module>embedded-aerospike-enterprise</module>
<module>embedded-spicedb</module>
<module>embedded-influxdb</module>
</modules>

<properties>
Expand Down

0 comments on commit 6cf947e

Please sign in to comment.