| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Thanks for https://github.com/thomasbachem/php-short-array-syntax-converter
|
|
|
|
| |
If user doesn't want to create a new admin (even if it's recommended) the internal config weren't created resulting in error when using the interface.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We already faced this problem but we are facing it again.
https://github.com/wallabag/wallabag/commit/d502762598db68ec822078642df8f6a8214202f7
It seems we can drop a database properly using wallabag:install.
The server log keep saying:
ERROR: source database "template1" is being accessed by other users
DETAIL: There is 1 other session using the database.
STATEMENT: CREATE DATABASE "wallabag_test"
Which means, it can't remove the database wallabag_test because one other person is using it.
|
| |
|
|
|
|
| |
Some simple tests
|
|
|
|
| |
symfony-upgrade-fixer fix src/Wallabag/
|
| |
|
| |
|
|
|
|
|
|
| |
For a not-clear reason, I can't properly drop the current database. Even if Doctrine made a special case for that (https://github.com/doctrine/dbal/pull/849).
So instead of trying crazy things to achieve the test, better way is to skip test (too much wasted days ..)
|
| |
|
|
|
|
|
|
|
| |
Ensure that created use during install command will always be unique.
We assume that the install command must be run to initialize a wallabag instance. NEVER to add more user.
Also, use a better way to retrieve the real name of the database and not the one defined in parameters.yml (which isn't the same for test envi because the dbname isn't defined in parameters.yml but directly in config_test.yml)
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
They are god damn too long to execute because it launch external command (mostly related to doctrine).
So I've added a PHPUnit @group (`command-doctrine`) so that we can avoid launching them on a regular basis, like that:
`phpunit --exclude-group command-doctrine`
|
| |
|
| |
|
|
Also add fixtures for Config
InstallCommand now check if database, schema are here and ask the user what to do (keep or trash & re-create)
|