diff --git a/tests/Doctrine/Deprecations/DeprecationTest.php b/tests/Doctrine/Deprecations/DeprecationTest.php index d39968e..597027d 100644 --- a/tests/Doctrine/Deprecations/DeprecationTest.php +++ b/tests/Doctrine/Deprecations/DeprecationTest.php @@ -234,6 +234,8 @@ public function testDeprecationIfCalledFromOutside(): void ); Foo::triggerDependencyWithDeprecation(); + + $this->assertEquals(1, Deprecation::getUniqueTriggeredDeprecationsCount()); } public function testDeprecationIfCalledFromOutsideNotTriggeringFromInside(): void