Commit Graph

19 Commits

Author SHA1 Message Date
Pierre Rudloff 3d2b518cb4 Create a test container that we can use in any test 2020-10-22 22:48:47 +02:00
Pierre Rudloff 342b8c4a42 Use secure session cookies (fixes #321) 2020-10-21 23:04:29 +02:00
Pierre Rudloff de8c5e5dc7 Convert SessionManager to a factory class 2020-10-21 22:48:05 +02:00
Pierre Rudloff 15636aa435 Stop using a singleton for LocaleManager (#298) 2020-10-17 22:36:03 +02:00
Pierre Rudloff fea1cce2d4 Switch to phpunit 8 2019-11-30 14:09:12 +01:00
Pierre Rudloff 7772de5394 Fix tests (#250) 2019-11-28 00:04:05 +01:00
Pierre Rudloff 44bf858c35 style(phpcs): Switch to PSR-12
https://www.php-fig.org/psr/psr-12/
2019-10-03 21:24:12 +02:00
Pierre Rudloff 06a631c892 fixup! refactor: New Video class 2019-04-21 18:35:24 +02:00
Pierre Rudloff 4c9af8ad1d refactor: New Video class
The news class provides a cleaner object-oriented logic

BREAKING CHANGE: The VideoDownload class has been removed and the Config constructor is now private
2019-04-21 18:30:02 +02:00
Pierre Rudloff f9bf3b8d47 refactor: Use a StreamInterface for PlaylistArchiveStream
It is much cleaner
2019-04-21 00:35:43 +02:00
Pierre Rudloff f4654c7229 test(phpunit): Improve locale-related tests 2019-04-20 12:17:52 +02:00
Pierre Rudloff 04fe43a1ca style: Declare imported classes at the top of the file 2018-02-05 17:16:41 +01:00
Pierre Rudloff 6b73026194 Fix cookie settings in tests 2017-12-05 15:43:35 +01:00
Pierre Rudloff 1b5e99403f Basic testEnv test 2017-11-11 23:00:53 +01:00
Pierre Rudloff 8848a8dbf3 Improve LocaleMiddlewareTest
Add a way to unset the current locale
2017-11-10 12:18:20 +01:00
Pierre Rudloff 6e8efd1b82 Fix LocaleManager test 2017-10-26 10:55:29 +02:00
Pierre Rudloff d14b1458a1 Update phpunit to 6.4 2017-10-26 10:48:09 +02:00
Pierre Rudloff 788e6e93b1 Fake LocaleManager session in test 2017-05-31 00:56:53 +02:00
Pierre Rudloff 0a66dce2b8 More test coverage
Run youtube-dl with --restrict-filenames in order to avoid issues when testing against different locales
2017-05-31 00:48:50 +02:00