Skip to content

Commit 5048bfb

Browse files
committed
test: update SignatureFlow tests for NONE mode
Add NONE mode to valid flow provider and remove zero from invalid numeric values since 0 is now a valid value (NONE). Signed-off-by: Vitor Mattos <[email protected]>
1 parent e616899 commit 5048bfb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/php/Unit/Enum/SignatureFlowTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
final class SignatureFlowTest extends TestCase {
1616
public static function validFlowProvider(): array {
1717
return [
18+
'none' => [SignatureFlow::NONE, SignatureFlow::NUMERIC_NONE, 'none'],
1819
'parallel' => [SignatureFlow::PARALLEL, SignatureFlow::NUMERIC_PARALLEL, 'parallel'],
1920
'ordered_numeric' => [SignatureFlow::ORDERED_NUMERIC, SignatureFlow::NUMERIC_ORDERED_NUMERIC, 'ordered_numeric'],
2021
];
@@ -29,7 +30,6 @@ public function testBidirectionalConversion(SignatureFlow $flow, int $expectedNu
2930

3031
public static function invalidNumericProvider(): array {
3132
return [
32-
'zero' => [0],
3333
'negative' => [-1],
3434
'three' => [3],
3535
'large' => [999],

0 commit comments

Comments
 (0)