Skip to content

Commit 222a66c

Browse files
committed
Use TrinaryLogic::describe() in test
1 parent 15dce0c commit 222a66c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/PHPStan/Reflection/Constant/RuntimeConstantReflectionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public function testDeprecatedConstants(Name $constName, TrinaryLogic $isDepreca
5151
$reflectionProvider = $this->createReflectionProvider();
5252

5353
$this->assertTrue($reflectionProvider->hasConstant($constName, null));
54-
$this->assertSame($isDeprecated, $reflectionProvider->getConstant($constName, null)->isDeprecated());
54+
$this->assertSame($isDeprecated->describe(), $reflectionProvider->getConstant($constName, null)->isDeprecated()->describe());
5555
$this->assertSame($deprecationMessage, $reflectionProvider->getConstant($constName, null)->getDeprecatedDescription());
5656
}
5757

0 commit comments

Comments
 (0)