🐛 correct some minor issues

This commit is contained in:
William Hall
2021-03-08 18:20:07 +00:00
parent 2aa6f46e20
commit 58d3354367
3 changed files with 10 additions and 13 deletions
+3 -2
View File
@@ -14,10 +14,11 @@ trait MightNotMakeAssertions
{
foreach (class_parents($this) as $parent) {
if (method_exists($parent, 'expectNotToPerformAssertions')) {
return parent::expectNotToPerformAssertions();
parent::expectNotToPerformAssertions();
return;
}
}
return $this->assertTrue(true);
$this->assertTrue(true);
}
}