diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-01-15 15:38:31 +0100 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-01-15 15:38:31 +0100 |
commit | 1930c19d8214c05ceefac5ac011a6b6e7e4a983d (patch) | |
tree | 8f07ffa139c7c2e883a560ef7dbb35a76adfb8dd /phpunit.xml.dist | |
parent | 790573d45899504bdecd2573c8f64018e23b139e (diff) | |
parent | 131eaa3e94ace8d75d6218e5c7c3aa58d5bb5009 (diff) | |
download | wallabag-1930c19d8214c05ceefac5ac011a6b6e7e4a983d.tar.gz wallabag-1930c19d8214c05ceefac5ac011a6b6e7e4a983d.tar.zst wallabag-1930c19d8214c05ceefac5ac011a6b6e7e4a983d.zip |
Merge pull request #1524 from wallabag/sf2.8
Upgrade to Symfony 3.0
Diffstat (limited to 'phpunit.xml.dist')
-rw-r--r-- | phpunit.xml.dist | 21 |
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> |