From 53bd463a4abb7a84ae0eb9527b1519606c28fe0c Mon Sep 17 00:00:00 2001 From: Thomas Lallement Date: Fri, 8 Sep 2023 09:45:32 +0200 Subject: [PATCH] Improve testDeprecationIfCalledFromOutside test --- tests/Doctrine/Deprecations/DeprecationTest.php | 2 ++ 1 file changed, 2 insertions(+) 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