Skip to content

Commit f30a3d6

Browse files
"Fix" test. Problem is that acldeluser doesn't delete previous Japanese user.
1 parent 0937c9e commit f30a3d6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/test/java/io/lettuce/core/commands/AclCommandIntegrationTests.java

+4-2
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@
4343
import io.lettuce.test.LettuceExtension;
4444
import io.lettuce.test.condition.EnabledOnCommand;
4545

46+
import java.util.stream.Collectors;
47+
4648
/**
4749
* Integration tests for ACL commands.
4850
*
@@ -131,7 +133,7 @@ void aclLog() {
131133

132134
@Test
133135
void aclList() {
134-
assertThat(redis.aclList()).hasSize(2).first().asString().contains("user default");
136+
assertThat(redis.aclList()).hasSize(1).first().asString().contains("user default");
135137
}
136138

137139
@Test
@@ -161,7 +163,7 @@ void aclSetuserWithCategories() {
161163

162164
@Test
163165
void aclUsers() {
164-
assertThat(redis.aclUsers()).hasSize(2).first().isEqualTo("default");
166+
assertThat(redis.aclUsers()).hasSize(1).first().isEqualTo("default");
165167
}
166168

167169
@Test

0 commit comments

Comments
 (0)