Skip to content

Commit

Permalink
Use TrinaryLogic::describe() in test
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Mar 23, 2024
1 parent 15dce0c commit 222a66c
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -51,7 +51,7 @@ public function testDeprecatedConstants(Name $constName, TrinaryLogic $isDepreca
$reflectionProvider = $this->createReflectionProvider();

$this->assertTrue($reflectionProvider->hasConstant($constName, null));
$this->assertSame($isDeprecated, $reflectionProvider->getConstant($constName, null)->isDeprecated());
$this->assertSame($isDeprecated->describe(), $reflectionProvider->getConstant($constName, null)->isDeprecated()->describe());
$this->assertSame($deprecationMessage, $reflectionProvider->getConstant($constName, null)->getDeprecatedDescription());
}

Expand Down

0 comments on commit 222a66c

Please sign in to comment.