Skip to content

Commit

Permalink
ProxyTrace should check for tests locations
Browse files Browse the repository at this point in the history
  • Loading branch information
sanmai committed Mar 1, 2021
1 parent c7d3d6e commit 218e82d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/TestFramework/Coverage/ProxyTrace.php
Expand Up @@ -108,6 +108,10 @@ public function getTests(): ?TestLocations

public function getAllTestsForMutation(NodeLineRangeData $lineRange, bool $isOnFunctionSignature): iterable
{
if ($this->lazyTestLocations === null) {
return [];
}

return $this->getTestLocator()->getAllTestsForMutation($lineRange, $isOnFunctionSignature);
}

Expand Down

0 comments on commit 218e82d

Please sign in to comment.