Skip to content

Commit 7475d57

Browse files
committed
fix: make compatible with newest rule
Signed-off-by: Vitor Mattos <[email protected]>
1 parent 108f5cd commit 7475d57

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/php/Unit/Helper/ValidateHelperTest.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -736,18 +736,18 @@ public static function providerValidateIdentifySigners(): array {
736736
],
737737
'empty data structure' => [
738738
[],
739-
true, // should throw
740-
'No signers'
739+
false, // should not throw
740+
''
741741
],
742742
'missing users key' => [
743743
['someOtherKey' => 'value'],
744-
true, // should throw
745-
'No signers'
744+
false, // should not throw
745+
''
746746
],
747747
'empty users array' => [
748748
['users' => []],
749-
true, // should throw
750-
'No signers'
749+
false, // should not throw
750+
''
751751
],
752752
'users not array' => [
753753
['users' => 'not-an-array'],

0 commit comments

Comments
 (0)