File tree 1 file changed +4
-2
lines changed
src/test/java/io/lettuce/core/commands
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 43
43
import io .lettuce .test .LettuceExtension ;
44
44
import io .lettuce .test .condition .EnabledOnCommand ;
45
45
46
+ import java .util .stream .Collectors ;
47
+
46
48
/**
47
49
* Integration tests for ACL commands.
48
50
*
@@ -131,7 +133,7 @@ void aclLog() {
131
133
132
134
@ Test
133
135
void aclList () {
134
- assertThat (redis .aclList ()).hasSize (2 ).first ().asString ().contains ("user default" );
136
+ assertThat (redis .aclList ()).hasSize (1 ).first ().asString ().contains ("user default" );
135
137
}
136
138
137
139
@ Test
@@ -161,7 +163,7 @@ void aclSetuserWithCategories() {
161
163
162
164
@ Test
163
165
void aclUsers () {
164
- assertThat (redis .aclUsers ()).hasSize (2 ).first ().isEqualTo ("default" );
166
+ assertThat (redis .aclUsers ()).hasSize (1 ).first ().isEqualTo ("default" );
165
167
}
166
168
167
169
@ Test
You can’t perform that action at this time.
0 commit comments