Skip to content

Commit

Permalink
Update tests/lib/RichText/TextExtractor/NodeFilter/NodePathFilterTest…
Browse files Browse the repository at this point in the history
….php

Co-authored-by: Andrew Longosz <[email protected]>
  • Loading branch information
adamwojs and alongosz authored Mar 30, 2024
1 parent 40499a9 commit 657097c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@ private function getNode(DOMDocument $document, string $expression): DOMNode
return $results->item(0);
}

throw new RuntimeException("Expression '$expression' did not return a node.");
self::fail("Expression '$expression' did not return a node.");
}
}

0 comments on commit 657097c

Please sign in to comment.