aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Update testJeremy Benoist2016-09-031-0/+6
| | | | | | | If the database isn't found when checking for the connection it means, we can connect to the server. The InstallCommand will create the database later. Also, when checking for the SQLite connection, Doctrine creates the file (so the database). That's why the test is skipped for SQLite.
* Avoid breaking import when fetching failJeremy Benoist2016-08-203-0/+91
| | | | | | | | | graby will throw an Exception in some case (like a bad url, a restricted url or a secured pdf). Import doesn't handle that case and break the whole import. With that commit the import isn't stopped but the entry is just skipped. Also, as a bonus, I've added extra test on WallabagImportV2 when the json is empty.
* Fix testsJeremy Benoist2016-08-171-2/+18
| | | | | | | | Ensure tests after the InstallCommand test will have a clean database. Previous attempt failed because of a foreign key Also, nightly on Travis seems to target PHP 7.2-dev, so I put 7.1 in requirement and moved nightly in allowed failures. And it seems xdebug isn't shipped with PHP 7.1, so I added a workaround to avoid build to fail when trying to remove xdebug.ini file.
* Change the way to login user in testsJeremy Benoist2016-06-245-8/+89
| | | | | | | | | Instead of using a HTTP request we just login user like FOSUser does. It allows us to mock service in container for functional tests. Also, fix a bad config name in fos_user for firewall And finally, add functional test to PocketImport
* Add some tests about readingTimeJeremy Benoist2016-06-231-0/+36
|
* Jump to Symfony 3.1Jeremy Benoist2016-06-2243-0/+6055
|
* remove foo testNicolas Lœuillet2015-01-221-19/+0
|
* new foldersNicolas Lœuillet2015-01-201-1/+1
|
* foo testNicolas Lœuillet2015-01-191-0/+19