From e296378e98410dd49bbdf5164a8de4d802959e8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Belin?= Date: Sun, 16 Jul 2023 15:56:55 +0200 Subject: [PATCH] Move the test fixtures to the "share" folder --- {test/fixture => share}/lcov.info | 0 test/ReportTest.php | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename {test/fixture => share}/lcov.info (100%) diff --git a/test/fixture/lcov.info b/share/lcov.info similarity index 100% rename from test/fixture/lcov.info rename to share/lcov.info diff --git a/test/ReportTest.php b/test/ReportTest.php index 6ff2d85..bb84c82 100644 --- a/test/ReportTest.php +++ b/test/ReportTest.php @@ -26,7 +26,7 @@ function testFromJson(): void { #[TestDox("::parse()")] function testParse(): void { - $report = Report::parse(file_get_contents("test/fixture/lcov.info") ?: ""); + $report = Report::parse(file_get_contents("share/lcov.info") ?: ""); // It should have a test name. assertThat($report->testName, equalTo("Example"));