Skip to content

Commit c66fcf3

Browse files
committed
Fix assertion in Hazelcast tests
1 parent ae6bc3e commit c66fcf3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-session-hazelcast/src/integration-test/java/org/springframework/session/hazelcast/AbstractHazelcastRepositoryITests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ public void createSessionWithSecurityContextAndFindByPrincipal() {
224224

225225
assertThat(this.repository.findByIndexNameAndIndexValue(
226226
FindByIndexNameSessionRepository.PRINCIPAL_NAME_INDEX_NAME, username))
227-
.isNotNull();
227+
.hasSize(1);
228228
}
229229

230230
}

0 commit comments

Comments
 (0)