We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 109c17f commit 7ca0389Copy full SHA for 7ca0389
tests/unit/EnumTestTrait.php
@@ -35,7 +35,10 @@ public function testEnumHasExpectedValues(): void
35
36
$actualValues = $enumClass::getValues();
37
38
- $this->assertEquals($expectedValues, $actualValues);
+ // Since getValues() now returns just the values, we need to extract values from expected
39
+ $expectedValuesList = array_values($expectedValues);
40
+
41
+ $this->assertEquals($expectedValuesList, $actualValues);
42
}
43
44
/**
0 commit comments