aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/Wallabag
Commit message (Collapse)AuthorAgeFilesLines
* Avoid losing entry when fetching failJeremy Benoist2016-09-172-2/+4
| | | | Instead of just say “Failed to save entry” we’ll save the entry at all cost and try to fetch content. If fetching content failed, the entry will still be saved at least, but without content.
* Moved Pocket token to user configJeremy Benoist2016-09-161-11/+7
|
* AMPQ -> AMQPJeremy Benoist2016-09-141-5/+5
|
* Add more “real” testsJeremy Benoist2016-09-133-30/+87
|
* Change flash message for queued articlesJeremy Benoist2016-09-134-19/+19
|
* Fix testsJeremy Benoist2016-09-111-3/+3
|
* Add tests on ImportCommandJeremy Benoist2016-09-111-0/+86
|
* Add more testsJeremy Benoist2016-09-115-0/+126
| | | | And ability to define how many messages can be hanle by the redis worker before stopping (usefull for tests)
* Enable Redis on TravisJeremy Benoist2016-09-112-18/+169
| | | | | Add generated files from `composer up` Add more articles for Readability tests
* Enable Redis async importJeremy Benoist2016-09-1110-17/+513
| | | | | | | | - using javibravo/simpleue - internal config value are now `import_with_redis` & `import_with_rabbit` which are more clear - if both option are enable rabbit will be choosen - services imports related to async are now splitted into 2 files: `redis.yml` & `rabbit.yml` -
* Retrieve created date from PocketJeremy Benoist2016-09-111-0/+27
|
* Add test for RabbitMQJeremy Benoist2016-09-119-0/+485
| | | | Also update Symfony deps
* Add ability to define created_at for all importJeremy Benoist2016-09-113-0/+15
| | | | | | At the moment only Readability & wallabag v2 import allow created_at import. Pocket removed `time_added` field from their API v2 to v3... And wallabag v1 doesn't export that value.
* Retrieve all items from PocketJeremy Benoist2016-09-111-9/+1
| | | | | 5000 by 5000. Also, retrieve newest item first.
* Send every imported item to the queueJeremy Benoist2016-09-111-25/+3
| | | | | Instead of queing real Entry to process, we queue all the item to import from Pocket in a raw format. Then, the worker retrieve that information, find / create the entry and save it.
* Replace RabbitMQ injection with CraueConfigurationNicolas Lœuillet2016-09-111-1/+0
|
* 1st draft for rabbitMQNicolas Lœuillet2016-09-111-2/+9
|
* Export dates from entriesJeremy Benoist2016-09-083-1/+57
|
* Add tests on ReadabilityImportJeremy Benoist2016-09-013-0/+297
|
* Fix import count testsJeremy Benoist2016-09-011-1/+1
|
* Add Readability importJeremy Benoist2016-09-011-0/+25
| | | | Based on the JSON export instead of the API (which will be shutting down by the September 30, 2016)
* Add tests for untagged entriesNicolas Lœuillet2016-08-281-0/+10
|
* Merge pull request #1904 from wallabag/feature-public-modeJeremy Benoist2016-08-251-0/+43
|\ | | | | Share entry with a public URL
| * Update testJeremy Benoist2016-08-241-1/+26
| | | | | | | | and some cleanup
| * Change share entry behaviorNicolas Lœuillet2016-08-231-1/+1
| |
| * Add test and fix migrationNicolas Lœuillet2016-08-231-0/+18
| |
* | Merge pull request #2186 from wallabag/addRegistrationJeremy Benoist2016-08-242-1/+16
|\ \ | |/ |/| Add option to disable registration
| * Add simple testNicolas Lœuillet2016-08-242-1/+16
| |
* | Add some testsJeremy Benoist2016-08-231-3/+110
| | | | | | | | | | | | | | | | | | | | | | Also, retrieve tag from the request instead of the query (which will be the same but it's more easy to test). Moved down `deleteTagAction` because it conflicted with the new action: api_delete_tag => /api/tags/{tag}.{_format} api_delete_tags_label => /api/tags/label.{_format} And finally, throw exception when a tag is not found before removing it.
* | Add tests for tag list routesNicolas Lœuillet2016-08-231-0/+31
|/
* Merge remote-tracking branch 'origin/master' into 2.1Jeremy Benoist2016-08-224-2/+109
|\
| * 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.
* | Added name on clientThomas Citharel2016-08-221-1/+8
| | | | | | | | | | | | | | | | - Fix typos in field name - Added migration for name field in API client table Manually cherry-picked from PR https://github.com/wallabag/wallabag/pull/2171
* | Upgrade PHPUnit to version 5Jeremy Benoist2016-08-221-1/+5
| | | | | | | | | | | | | | | | - Fix deprecated getMock - Use PHPUnit 4 for PHP 5.5 build Manually cherry-picked from PR https://github.com/wallabag/wallabag/pull/2201
* | Merge remote-tracking branch 'origin/master' into 2.1Jeremy Benoist2016-07-205-8/+89
|\|
| * 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 filter for tags on APIThomas Citharel2016-06-291-0/+22
| |
* | Add since parameterThomas Citharel2016-06-251-0/+45
| |
* | Merge branch 'master' into 2.1Jeremy Benoist2016-06-2343-0/+6085
|\|
| * 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