Skip to content

Commit c5848ec

Browse files
committed
test: removes fromValues method
1 parent d82cb88 commit c5848ec

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

tests/unit/Common/AbstractEnumTest.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -170,13 +170,6 @@ public function testIsValidValue(): void
170170
$this->assertFalse(ValidTestEnum::isValidValue(43));
171171
}
172172

173-
public function testFromValueDeprecatedMethod(): void
174-
{
175-
$enum = ValidTestEnum::fromValue('first');
176-
$this->assertInstanceOf(ValidTestEnum::class, $enum);
177-
$this->assertSame('first', $enum->value);
178-
}
179-
180173
public function testPropertiesAreReadOnly(): void
181174
{
182175
$enum = ValidTestEnum::firstName();

0 commit comments

Comments
 (0)