Skip to content

Commit

Permalink
Improve testDeprecationIfCalledFromOutside test
Browse files Browse the repository at this point in the history
  • Loading branch information
raziel057 authored Sep 8, 2023
1 parent 5c1fc92 commit 53bd463
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/Doctrine/Deprecations/DeprecationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,8 @@ public function testDeprecationIfCalledFromOutside(): void
);

Foo::triggerDependencyWithDeprecation();

$this->assertEquals(1, Deprecation::getUniqueTriggeredDeprecationsCount());
}

public function testDeprecationIfCalledFromOutsideNotTriggeringFromInside(): void
Expand Down

0 comments on commit 53bd463

Please sign in to comment.