From 605f47177aa3e5cb0d3eca106f5d2961edd30e42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Belin?= Date: Thu, 11 Apr 2019 22:21:34 +0200 Subject: [PATCH] Moved the PHPUnit settings --- RoboFile.php | 2 +- phpunit.xml => test/phpunit.xml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) rename phpunit.xml => test/phpunit.xml (52%) diff --git a/RoboFile.php b/RoboFile.php index de23eba..36f2195 100644 --- a/RoboFile.php +++ b/RoboFile.php @@ -63,7 +63,7 @@ class RoboFile extends Tasks { * @return Result The task result. */ function test(): Result { - return $this->taskPhpUnit()->run(); + return $this->_exec('phpunit --configuration=test/phpunit.xml'); } /** diff --git a/phpunit.xml b/test/phpunit.xml similarity index 52% rename from phpunit.xml rename to test/phpunit.xml index 37c5de1..6a12242 100644 --- a/phpunit.xml +++ b/test/phpunit.xml @@ -1,18 +1,18 @@ - + - src + ../src - + - test + ../test