Skip to content

Commit 82cc7aa

Browse files
committed
test: update graph and database update-graph database
Signed-off-by: Otavio Santana <[email protected]>
1 parent 24ec619 commit 82cc7aa

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

jnosql-tinkerpop/src/test/java/org/eclipse/jnosql/databases/tinkerpop/mapping/spi/GraphCustomExtensionTest.java

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -56,28 +56,22 @@ class GraphCustomExtensionTest {
5656
void shouldInitiate() {
5757
assertNotNull(people);
5858
Person person = people.insert(Person.builder().build());
59-
SoftAssertions.assertSoftly(soft -> {
60-
soft.assertThat(person).isNotNull();
61-
});
59+
SoftAssertions.assertSoftly(soft -> soft.assertThat(person).isNotNull());
6260
}
6361

6462
@Test
6563
void shouldUseMock(){
6664
assertNotNull(pepoleMock);
6765

6866
Person person = pepoleMock.insert(Person.builder().build());
69-
SoftAssertions.assertSoftly(soft -> {
70-
soft.assertThat(person).isNotNull();
71-
});
67+
SoftAssertions.assertSoftly(soft -> soft.assertThat(person).isNotNull());
7268
}
7369

7470
@Test
7571
void shouldUseDefault(){
7672
assertNotNull(repository);
7773

7874
Person person = repository.insert(Person.builder().build());
79-
SoftAssertions.assertSoftly(soft -> {
80-
soft.assertThat(person).isNotNull();
81-
});
75+
SoftAssertions.assertSoftly(soft -> soft.assertThat(person).isNotNull());
8276
}
8377
}

0 commit comments

Comments
 (0)