From 7ac856bc0bec23299ae907fd68f7b17e8ec963ef Mon Sep 17 00:00:00 2001 From: HorstOeko Date: Fri, 8 Nov 2024 16:51:31 +0100 Subject: [PATCH] Fix testout directory for xmls which were generated during unit tests --- .gitignore | 1 + tests/traits/HandlesXmlTests.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index bfbf20a..a72241b 100644 --- a/.gitignore +++ b/.gitignore @@ -80,6 +80,7 @@ _backup* /build/phpdox/ /build/phpdoc/ /build/xmlresults/ +/build/generated/ /*.phar /composer.lock /examples/*.xml diff --git a/tests/traits/HandlesXmlTests.php b/tests/traits/HandlesXmlTests.php index cbd42b3..43df02c 100644 --- a/tests/traits/HandlesXmlTests.php +++ b/tests/traits/HandlesXmlTests.php @@ -257,7 +257,7 @@ public function debugWriteFile(): void public function saveFinalXmlToBuildResults(string $filename) { $buildDir = dirname(__FILE__) . '/../../build'; - $buildXmlResultDir = $buildDir . '/xmlresults'; + $buildXmlResultDir = $buildDir . '/generated'; if (!is_dir($buildXmlResultDir)) { @mkdir($buildXmlResultDir);