We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9cf72d3 commit 3f0e433Copy full SHA for 3f0e433
1 file changed
tests/unit/Enum/AbstractEnumTest.php
@@ -6,8 +6,6 @@
6
7
abstract class AbstractEnumTest extends TestCase
8
{
9
- public const TEST_VALUE = 'test';
10
-
11
/** @var AbstractEnum */
12
private $enum;
13
@@ -52,7 +50,7 @@ final public function testEnumShouldReturnFalseWhenStaticallyAskedForUndeclaredE
52
50
final public function testEnumShouldReturnTrueWhenAskedForDeclaredEnum() : void
53
51
54
$enum = $this->enum;
55
- $actual = $enum->hasValue(static::TEST_VALUE);
+ $actual = $enum->hasValue($this->getTestValue());
56
57
self::assertTrue($actual);
58
}
0 commit comments