From 80a932fab56be12bf901dd29f96d1ee65ea1c79c Mon Sep 17 00:00:00 2001
From: Laurent Giovannoni <laurent.giovannoni@maarch.org>
Date: Thu, 13 Jul 2017 15:42:10 +0200
Subject: [PATCH] fix only one file

---
 core/Test/StatusControllerTest.php | 2 +-
 phpunit.xml                        | 5 +++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/core/Test/StatusControllerTest.php b/core/Test/StatusControllerTest.php
index 0f981421e0f..ad3e86a0795 100644
--- a/core/Test/StatusControllerTest.php
+++ b/core/Test/StatusControllerTest.php
@@ -9,7 +9,7 @@
 
 namespace MaarchTest;
 
-require_once __DIR__.'/define.php';
+//require_once __DIR__.'/define.php';
 
 class StatusControllerTest extends \PHPUnit_Framework_TestCase
 {
diff --git a/phpunit.xml b/phpunit.xml
index 715f640f041..f4458f53b4b 100644
--- a/phpunit.xml
+++ b/phpunit.xml
@@ -1,8 +1,9 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<phpunit colors="true">
+<phpunit colors="true" bootstrap="core/Test/define.php">
     <testsuites>
         <testsuite name="Maarch Core Test Suite">
-            <directory>core/Test</directory>
+            <!--directory>core/Test</directory-->
+            <file>core/Test/StatusControllerTest.php</file>
         </testsuite>
     </testsuites>
     <filter>
-- 
GitLab