diff --git a/tests/tests/StaticAnalysis/ExecutableLinesFindingVisitorTest.php b/tests/tests/StaticAnalysis/ExecutableLinesFindingVisitorTest.php index aa71d035b..659b69c72 100644 --- a/tests/tests/StaticAnalysis/ExecutableLinesFindingVisitorTest.php +++ b/tests/tests/StaticAnalysis/ExecutableLinesFindingVisitorTest.php @@ -24,7 +24,7 @@ final class ExecutableLinesFindingVisitorTest extends TestCase { public function testExecutableLinesAreGroupedByBranch(): void { - $this->doTestSelfDescribingAsset(TEST_FILES_PATH . 'source_for_branched_exec_lines.php'); + $this->doTestSelfDescribingAssert(TEST_FILES_PATH . 'source_for_branched_exec_lines.php'); } /** @@ -32,7 +32,7 @@ public function testExecutableLinesAreGroupedByBranch(): void */ public function testExecutableLinesAreGroupedByBranchPhp74(): void { - $this->doTestSelfDescribingAsset(TEST_FILES_PATH . 'source_for_branched_exec_lines_php74.php'); + $this->doTestSelfDescribingAssert(TEST_FILES_PATH . 'source_for_branched_exec_lines_php74.php'); } /** @@ -40,7 +40,7 @@ public function testExecutableLinesAreGroupedByBranchPhp74(): void */ public function testExecutableLinesAreGroupedByBranchPhp80(): void { - $this->doTestSelfDescribingAsset(TEST_FILES_PATH . 'source_for_branched_exec_lines_php80.php'); + $this->doTestSelfDescribingAssert(TEST_FILES_PATH . 'source_for_branched_exec_lines_php80.php'); } /** @@ -48,7 +48,7 @@ public function testExecutableLinesAreGroupedByBranchPhp80(): void */ public function testExecutableLinesAreGroupedByBranchPhp81(): void { - $this->doTestSelfDescribingAsset(TEST_FILES_PATH . 'source_for_branched_exec_lines_php81.php'); + $this->doTestSelfDescribingAssert(TEST_FILES_PATH . 'source_for_branched_exec_lines_php81.php'); } /** @@ -56,10 +56,10 @@ public function testExecutableLinesAreGroupedByBranchPhp81(): void */ public function testExecutableLinesAreGroupedByBranchPhp82(): void { - $this->doTestSelfDescribingAsset(TEST_FILES_PATH . 'source_for_branched_exec_lines_php82.php'); + $this->doTestSelfDescribingAssert(TEST_FILES_PATH . 'source_for_branched_exec_lines_php82.php'); } - private function doTestSelfDescribingAsset(string $filename): void + private function doTestSelfDescribingAssert(string $filename): void { $source = file_get_contents($filename); $parser = (new ParserFactory)->createForHostVersion();