Skip to content

Commit 644f2dd

Browse files
committed
test: update test scenario
Signed-off-by: Otavio Santana <[email protected]>
1 parent 4709acd commit 644f2dd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

jnosql-arangodb/src/test/java/org/eclipse/jnosql/databases/arangodb/integration/ArangoDBEnumIntegrationTest.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
import org.junit.jupiter.api.condition.EnabledIfSystemProperty;
3434

3535
import java.util.List;
36-
import java.util.Optional;
3736
import java.util.function.Predicate;
3837

3938
import static org.eclipse.jnosql.communication.driver.IntegrationTest.MATCHES;
@@ -79,8 +78,7 @@ void shouldCreateAndQueryByEnumAndDefaultTrue() {
7978
SoftAssertions.assertSoftly(soft -> {
8079
Predicate<MailTemplate> isTimer = m -> m.getCategory().equals(MailCategory.TIMER);
8180
Predicate<MailTemplate> isTrue = m -> m.isDefault();
82-
soft.assertThat(result).hasSize(1).allMatch(
83-
isTimer.and(isTrue));
81+
soft.assertThat(result).allMatch(isTimer.and(isTrue));
8482
});
8583
}
8684

0 commit comments

Comments
 (0)