Skip to content

Commit aed65de

Browse files
committed
fix: default values expected on tests
1 parent 7f8d737 commit aed65de

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tests/DependencyInjection/SncRedisExtensionEnvTest.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,10 @@ public function testPredisDefaultParameterConfig(): void
5757
'sentinel_username' => null,
5858
'sentinel_password' => null,
5959
'logging' => false,
60+
'redis_array' => false,
6061
],
6162
'commands' => ['foo' => 'Foo\Bar\Baz'],
63+
'scan' => null,
6264
'read_write_timeout' => null,
6365
'iterable_multibulk' => false,
6466
'serialization' => 'default',
@@ -98,6 +100,7 @@ public function testPhpredisDefaultParameterConfig(string $config, string $class
98100
'connection_async' => false,
99101
'connection_persistent' => false,
100102
'connection_timeout' => 5,
103+
'scan' => null,
101104
'read_write_timeout' => null,
102105
'iterable_multibulk' => false,
103106
'throw_errors' => true,
@@ -138,8 +141,10 @@ public function testPhpredisFullConfig(): void
138141
'sentinel_username' => null,
139142
'sentinel_password' => null,
140143
'logging' => false,
144+
'redis_array' => false,
141145
],
142146
'connection_async' => false,
147+
'scan' => null,
143148
'read_write_timeout' => null,
144149
'iterable_multibulk' => false,
145150
'throw_errors' => true,
@@ -177,12 +182,14 @@ public function testPhpredisWithAclConfig(): void
177182
'ssl_context' => null,
178183
'sentinel_username' => null,
179184
'sentinel_password' => null,
185+
'redis_array' => false,
180186
],
181187
'prefix' => null,
182188
'read_write_timeout' => null,
183189
'serialization' => 'php',
184190
'service' => null,
185191
'throw_errors' => true,
192+
'scan' => null,
186193
],
187194
$clientDefinition->getArgument(2),
188195
);
@@ -221,6 +228,7 @@ public function testPhpRedisClusterOption(): void
221228
'connection_async' => false,
222229
'connection_persistent' => false,
223230
'connection_timeout' => 5,
231+
'scan' => null,
224232
'read_write_timeout' => null,
225233
'iterable_multibulk' => false,
226234
'throw_errors' => true,
@@ -250,6 +258,7 @@ public function testPhpRedisSentinelOption(): void
250258
'connection_async' => false,
251259
'connection_persistent' => false,
252260
'connection_timeout' => 5,
261+
'scan' => null,
253262
'read_write_timeout' => null,
254263
'iterable_multibulk' => false,
255264
'throw_errors' => true,
@@ -280,6 +289,7 @@ public function testPhpRedisClusterOptionMultipleDsn(): void
280289
'connection_timeout' => 1.5,
281290
'connection_persistent' => true,
282291
'connection_async' => false,
292+
'scan' => null,
283293
'iterable_multibulk' => false,
284294
'throw_errors' => true,
285295
'serialization' => 'default',

0 commit comments

Comments
 (0)