Skip to content

Commit 11c4078

Browse files
gdaszutaGrzegorz Daszuta
authored andcommitted
Add test for array-type redis parameters
1 parent aa073dc commit 11c4078

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Instrumentation/Laravel/tests/Unit/Watches/RedisCommand/SerializerTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,8 @@ public function serializeCases(): iterable
3131

3232
// Serialize all params
3333
yield ['DEL', ['param1', 'param2', 'param3', 'param4'], 'DEL param1 param2 param3 param4'];
34+
35+
// Parameters of array type
36+
yield ['EVAL', ['param1', 'param2', ['arg1', 'arg2']], 'EVAL param1 param2 ["arg1","arg2"]'];
3437
}
3538
}

0 commit comments

Comments
 (0)