aboutsummaryrefslogtreecommitdiffhomepage
path: root/phpunit.xml.dist
diff options
context:
space:
mode:
Diffstat (limited to 'phpunit.xml.dist')
-rw-r--r--phpunit.xml.dist21
1 files changed, 8 insertions, 13 deletions
diff --git a/phpunit.xml.dist b/phpunit.xml.dist
index 7bec5b5e..e68df9de 100644
--- a/phpunit.xml.dist
+++ b/phpunit.xml.dist
@@ -9,32 +9,27 @@
9 processIsolation="false" 9 processIsolation="false"
10 stopOnFailure="false" 10 stopOnFailure="false"
11 syntaxCheck="false" 11 syntaxCheck="false"
12 bootstrap="app/bootstrap.php.cache" 12 bootstrap="app/autoload.php"
13 > 13 >
14 14
15 <testsuites> 15 <testsuites>
16 <testsuite name="wallabag Test Suite"> 16 <testsuite name="wallabag Test Suite">
17 <directory>./src/Wallabag/*Bundle/Tests</directory> 17 <directory>src/Wallabag/*Bundle/Tests</directory>
18 </testsuite> 18 </testsuite>
19 </testsuites> 19 </testsuites>
20 20
21 <php> 21 <php>
22 <server name="KERNEL_DIR" value="./app/" /> 22 <server name="KERNEL_DIR" value="app/" />
23 <!--
24 Avoid tests to fail because of deprecated stuff
25 see: http://symfony.com/doc/current/cookbook/upgrade/major_version.html#deprecations-in-phpunit
26 -->
27 <env name="SYMFONY_DEPRECATIONS_HELPER" value="weak" />
28 </php> 23 </php>
29 24
30 <filter> 25 <filter>
31 <whitelist> 26 <whitelist>
32 <directory>./src</directory> 27 <directory>src</directory>
33 <exclude> 28 <exclude>
34 <directory>./vendor</directory> 29 <directory>vendor</directory>
35 <directory>./src/Wallabag/*Bundle/Resources</directory> 30 <directory>src/Wallabag/*Bundle/Resources</directory>
36 <directory>./src/Wallabag/*Bundle/Tests</directory> 31 <directory>src/Wallabag/*Bundle/Tests</directory>
37 <directory>./src/Wallabag/*Bundle/DataFixtures</directory> 32 <directory>src/Wallabag/*Bundle/DataFixtures</directory>
38 </exclude> 33 </exclude>
39 </whitelist> 34 </whitelist>
40 </filter> 35 </filter>