mirror of
https://github.com/pestphp/pest.git
synced 2026-06-05 02:52:12 +02:00
wip
This commit is contained in:
@ -434,6 +434,10 @@ trait Testable
|
|||||||
$tia = Container::getInstance()->get(Tia::class);
|
$tia = Container::getInstance()->get(Tia::class);
|
||||||
$assertions = $tia->getCachedAssertions($this::class.'::'.$this->name());
|
$assertions = $tia->getCachedAssertions($this::class.'::'.$this->name());
|
||||||
|
|
||||||
|
if ($assertions === 0) {
|
||||||
|
$this->expectNotToPerformAssertions();
|
||||||
|
}
|
||||||
|
|
||||||
$this->addToAssertionCount($assertions);
|
$this->addToAssertionCount($assertions);
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
|
|||||||
Reference in New Issue
Block a user