aboutsummaryrefslogtreecommitdiff
path: root/tests/phpunit.xml
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2019-12-23 11:00:22 +0100
committerGravatar GitHub <noreply@github.com> 2019-12-23 11:00:22 +0100
commit8f5d8af72f91e3fa1d47717379570964fe970069 (patch)
treeed089f75bfc7070ac1192f6e235387a70f0d0258 /tests/phpunit.xml
parent61fb6f8b86a3fc395dcfa16abab2c94ad3be5b27 (diff)
tec: Fix test suite (#2721)
* Rework the travis file to enable PHPUnit I realized that unit tests weren't executed on Travis. While working on this file to enable these tests, I started to think we could simplify it. I separated jobs so: - PHP linter and tests are only performed on PHP 7.3 - Translations are tested separatly so they can fail (it was already the case but it was hard to understand the way it was done) - PHP 5.6 only checks syntax issues - the last job checks css, js, etc. (it didn't change) PHPUnit is not executed on 5.6 because only the version 5 is available while the latest version is the 8 (https://phpunit.de/supported-versions.html). I think it's easier to read (each job is more explicit) but I'm not a Travis expert so maybe there's some room for improvements. * Fix failing tests The category `_name` regression was introduced in commit b323ed084. I wasn't able to understand when and why Search tests was wrong. The rest is about upgrade of PHPUnit.
Diffstat (limited to 'tests/phpunit.xml')
-rw-r--r--tests/phpunit.xml13
1 files changed, 0 insertions, 13 deletions
diff --git a/tests/phpunit.xml b/tests/phpunit.xml
deleted file mode 100644
index cebfd0df8..000000000
--- a/tests/phpunit.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<phpunit bootstrap="bootstrap.php">
- <filter>
- <whitelist>
- <directory suffix=".php">../app</directory>
- </whitelist>
- </filter>
- <testsuites>
- <testsuite name="FreshRSS">
- <directory>app</directory>
- </testsuite>
- </testsuites>
-</phpunit>