Files
FreshRSS/app/Models
Marien Fressinaud 8f5d8af72f 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.
2019-12-23 11:00:22 +01:00
..
2019-08-20 14:55:43 +02:00
2019-12-23 11:00:22 +01:00
2019-10-23 00:52:15 +02:00
2019-10-23 00:52:15 +02:00
2019-03-23 22:52:47 +01:00
2014-10-05 18:51:08 +02:00
2018-11-11 17:31:50 +01:00
2015-03-05 13:29:41 +01:00
2019-10-23 00:52:15 +02:00
2019-11-21 15:22:52 +01:00
2018-09-29 20:47:17 +02:00
2018-09-29 20:47:17 +02:00
2019-11-04 17:45:15 +01:00
2018-09-29 20:47:17 +02:00