Commit Graph

27 Commits

Author SHA1 Message Date
Yassine Guedidi
6d38e0533f Run tests in no debug mode 2024-02-26 16:30:16 +01:00
Yassine Guedidi
18b09979d6 Introduce a tests bootstrap file 2024-01-09 08:11:16 +01:00
Yassine Guedidi
15d5eb5e6a Use PHPUnit directly 2024-01-03 23:46:08 +01:00
Jeremy Benoist
b3099f68c5
Update all Doctrine deps
Also update these deps to be compatible with latest Doctrine version:
- `friendsofsymfony/oauth-server-bundle`
- `lexik/form-filter-bundle`
- `dama/doctrine-test-bundle`
2022-12-16 10:29:42 +01:00
Jeremy Benoist
3c507d676f
Add build test on PHP 8.0 & 8.1
Add `isTransactional` to `WallabagMigration` because PHP 8 behave differently with PDO transaction.
This is a workaround because we can't upgrade Doctrine Migration for now (upper versions have the fix).

- Build is now using Composer v2 (instead of v1)
- All actions have been updated to latest version
- Fix bug in PHP 8 were `$entry->getTags()` can't be properly used as a _traversable_ by `assertContains` during tests. Added a custom method `Entry::getTagsLabel()` which return a flatted tag array with only label
- Replace `assertNotRegExp` by `assertDoesNotMatchRegularExpression` because it was deprecated
2022-01-31 12:59:39 +01:00
Jeremy Benoist
6fc95673df
Cleanup 2018-11-28 22:04:54 +01:00
Jeremy Benoist
7185fbff62
Update dama/doctrine-test-bundle
Because:

PHP Fatal error:  Class 'PHPUnit_Framework_BaseTestListener' not found in /home/travis/build/wallabag/wallabag/vendor/dama/doctrine-test-bundle/src/DAMA/DoctrineTestBundle/PHPUnit/LegacyPHPUnitListener.php on line 7
2017-12-18 13:29:34 +01:00
Jeremy Benoist
f40c88eb1f
Jump to Symfony 3.3 & update others deps
Also update tests urls
2017-10-09 16:45:12 +02:00
adev
7ab5eb9508 Isolated tests
Use https://github.com/dmaicher/doctrine-test-bundle to have test isolation.
2017-05-31 16:03:54 +02:00
Jeremy Benoist
e10f3b1e91
Disable deprecation that fail test 2016-09-24 19:55:23 +02:00
Jeremy Benoist
23634d5d84 Jump to Symfony 3.1 2016-06-22 17:59:35 +02:00
Jeremy Benoist
c7f622d369 Update readme & fix console permission 2016-01-15 09:36:32 +01:00
Jeremy Benoist
1d405d0e62 Remove some commented code 2016-01-15 09:35:39 +01:00
Jeremy Benoist
5c895a7fd1 Update bundle & stock file
- update stock file (AppKernel, app.php, etc ..) from SymfonyStandard edition)
- update bundle to latest release
- remove security on profiler
2016-01-15 09:35:38 +01:00
Jeremy Benoist
30a40b0298 Remove weak deprecation 💥 2016-01-15 09:35:37 +01:00
Jeremy Benoist
b2a903feef Avoid other bundle deprecation to cancel the build 2015-11-07 00:18:46 +01:00
Jeremy
8378485e33 Simplify build system 2015-03-03 19:20:08 +01:00
Kimtrip
4ffc77d9f5 Move phpunit into app folder 2015-01-30 15:47:27 +01:00
Nicolas Lœuillet
fdcbdda1ad grrr, remove call to bootstrap 2015-01-30 11:29:50 +01:00
Nicolas Lœuillet
367664ee87 finally fix phpunit and travis? 2015-01-30 11:23:18 +01:00
Nicolas Lœuillet
e11e03cb32 fix phpunit 2015-01-30 10:58:59 +01:00
Nicolas Lœuillet
3ba208b205 fix phpunit configuration 2015-01-30 10:49:47 +01:00
Nicolas Lœuillet
127915f4ea remove bootstrap in phpunit 2015-01-30 09:11:59 +01:00
Nicolas Lœuillet
2b9fe72b39 remove foo test 2015-01-22 10:14:37 +01:00
Nicolas Lœuillet
f3052b4542 foo test 2015-01-19 11:59:22 +01:00
Nicolas Lœuillet
d29b3e5f9e changes in md files 2013-08-23 23:04:56 +02:00
Nicolas Lœuillet
572e758bf2 empty phpunit file 2013-08-08 14:07:43 +02:00