From: William Desportes <williamdes@wdes.fr>
Date: Sun, 15 Dec 2024 22:54:28 +0100
Subject: Patch the path to phpunit

Do not use PIWIK_VENDOR_PATH

Origin: vendor
Forwarded: not-needed
---
 plugins/TestRunner/Commands/TestsRun.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/TestRunner/Commands/TestsRun.php b/plugins/TestRunner/Commands/TestsRun.php
index 36e04aa..6351a17 100644
--- a/plugins/TestRunner/Commands/TestsRun.php
+++ b/plugins/TestRunner/Commands/TestsRun.php
@@ -53,7 +53,7 @@ class TestsRun extends ConsoleCommand
         $groups = $this->getGroupsFromString($groups);
 
         // bin is the composer executeable directory, where all vendors (should) place their executables
-        $command = PIWIK_VENDOR_PATH . '/bin/phpunit';
+        $command = '/usr/bin/phpunit';
 
         if (!$this->isCoverageEnabled($options) && $this->isXdebugLoaded()) {
             $message = 'Did you know? You can run tests faster by disabling xdebug';
