Commit graph

32 commits

Author SHA1 Message Date
Yassine Guedidi c4f097530f Make each install command test uses its own database 2024-04-04 23:57:03 +02:00
Yassine Guedidi 7e40142aa0 Remove need for TEST_DATABASE_PATH 2024-01-14 23:16:31 +01:00
Yassine Guedidi 8d3f575c03 Make tests use dev database config 2024-01-07 20:00:30 +01:00
Yassine Guedidi a6af149fa3 Add missing test_database_socket parameter 2024-01-07 17:53:07 +01:00
Yassine Guedidi ccd50bca7a Move enabling fosuser_registration in tests to config_test.yml 2024-01-07 17:53:07 +01:00
Rotzbua 51c68655fb Fix some typos 2023-09-18 11:16:19 +02:00
Nicolas Lœuillet 5e4eae42a0 Change public registration to false by default 2023-08-03 16:15:37 +02:00
Jeremy Benoist 0ac8089eee
CI workaround for PHP < 7.4 & MySQL 8
The error on PHP 7.2 & 7.3 is:

> PDO::__construct(): The server requested authentication method unknown to the client [caching_sha2_password]

See:
- https://stackoverflow.com/q/53066962/569101
- https://stackoverflow.com/q/52364415/569101
- https://stackoverflow.com/q/51489616/569101
- https://stackoverflow.com/q/50026939/569101

Also upgrade `actions/checkout` v3
2022-04-11 22:11:22 +02:00
Jeremy Benoist 40c01ad1d4
Ditch Travis to use GitHub Actions 2020-11-27 14:14:44 +01:00
Jeremy Benoist 1b6b77f029
Remove custom Postgres class
Because PG > 10 is now supported by DBAL >= 2.6.0
2018-11-28 22:04:54 +01:00
Jeremy Benoist a1661af17c
Add custom driver & schema manager for PostgreSQL 10 2017-12-12 12:14:40 +01:00
Nicolas Hart 9ca069a6fe Replace kernel.root_dir by kernel.project_dir
kernel.root_dir and Kernel::getRootDir() are deprecated since Symfony 3.3.
See https://symfony.com/blog/new-in-symfony-3-3-a-simpler-way-to-get-the-project-root-directory and https://github.com/symfony/symfony/blob/3.3/UPGRADE-3.3.md#httpkernel for more information.
2017-10-14 00:32:56 +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 fc79f1ffa8
Add verification check for MySQL version
Must now be >= 5.5.4
2016-10-22 13:41:03 +02:00
Jeremy Benoist 98efffc2a6
Fix emoji insertion in MySQL
Switch to utf8mb4 instead of utf8 because f*** MySQL
See https://github.com/doctrine/dbal/pull/851
2016-10-22 13:13:07 +02:00
Jeremy Benoist f440e28281
Update doc
Merge VALIDATE_TRANSLATION_FILE & ASSET build (less build on Travis)
2016-10-04 10:31:03 +02:00
Jeremy Benoist 86732aa01c Move test parameters out of parameters.yml
The end user doesn't care to about the test database.
2016-04-12 22:14:22 +02:00
Nicolas Lœuillet bc358c9180 CS 2016-02-04 16:06:05 +01:00
Nicolas Lœuillet 3eb06f2891 Fix #1622: parameter for FosUser confirmation 2016-02-04 16:00:45 +01:00
Nicolas Lœuillet e008c037f5 Merge pull request #1612 from wallabag/v2-settings-page
Settings page
2016-02-04 15:59:57 +01:00
Nicolas Lœuillet 61c640ed31 Fix #1635: change database name for test environments (mysql/pgsql) 2016-02-01 13:22:34 +01:00
Jeremy Benoist 48e3007b7f Fix from_email & fos_user 2016-01-31 15:31:34 +01:00
Jeremy Benoist 63e40f2d7c Add CraueConfig for internal settings 2016-01-31 14:48:26 +01:00
Jeremy Benoist 26975877d7 Always include warning message
We'll remove it later, on the stable release
2016-01-31 14:37:19 +01:00
Jeremy Benoist bc78968764 Move default configuration out of parameters
These default configuration value shouldn't be in parameters.yml.
2016-01-31 14:37:19 +01:00
Thomas Citharel b89444ad8b fix #1620 and introduce new parameters to export 2016-01-24 18:21:09 +01:00
Jeremy Benoist 6d7c7a6e3f Remove real consumer key
We should never commit them :)
2016-01-02 23:27:41 +01:00
Nicolas Lœuillet 9c9c23cf08 forgot test parameters 2016-01-02 23:24:17 +01:00
Jeremy Benoist 23ff8d3619 Add custom email for 2FA
Related #1490
2015-12-29 11:17:06 +01:00
Jeremy Benoist add597bad9 Rework on export
- all export now return a `HttpFoundation\Response`
- return a 404 on unsupported format
- add tests
2015-11-09 16:32:48 +01:00
Nicolas Lœuillet e9b395ec4b forgot parameters for travis 2015-10-15 13:20:44 +02:00
Jeremy Benoist 03fb6fde5f Add multiple database tests on Travis 2015-09-26 11:56:15 +02:00