aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/Wallabag/ApiBundle/Controller
Commit message (Collapse)AuthorAgeFilesLines
* Exploded WallabagRestController into many controllersNicolas Lœuillet2016-10-283-820/+835
| | | | Fix #2503
* Merge pull request #2351 from wallabag/fix-api-client-deletionNicolas Lœuillet2016-10-081-0/+104
|\ | | | | Changed relation between API client and refresh token
| * Ensure access_token are removedJeremy Benoist2016-10-081-0/+104
| | | | | | | | | | | | | | | | When we remove the client, we should ensure that access_token are also removed. To ensure that, I created a test that generated an access_token. So when we remove the client, this association should be cascaded and shouldn’t generate an error. Also I moved some Api related stuff to the ApiBundle (like the developer controler and ClientType form)
* | Merge pull request #2393 from wallabag/api-urls-existNicolas Lœuillet2016-10-081-0/+16
|\ \ | | | | | | Ability to check multiple urls in API
| * | Ability to check multiple urls in APIJeremy Benoist2016-10-071-0/+16
| | |
* | | Ensure orphan tag are remove in APIJeremy Benoist2016-10-071-0/+9
|/ / | | | | | | | | | | When the association between a tag and an entry is removed, if the tag doesn’t have other entries, we can remove it. Also add more tests for that part and ensure TagControllerTest is isolated from the rest of the test suite (finally!)
* / Fix typo & add testJeremy Benoist2016-10-051-0/+7
|/
* Fix parameters in API _linksJeremy Benoist2016-10-021-1/+99
| | | | We forgot to pass them to the factory
* Add test when url doesn’t existJeremy Benoist2016-10-011-0/+11
|
* Add an exists endpoint in APIJeremy Benoist2016-10-011-0/+11
| | | | It should allow third party to check if an url was already saved by a user
* Fix bad parameter for testsJeremy Benoist2016-09-251-1/+1
|
* 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 filter for tags on APIThomas Citharel2016-06-291-0/+22
|
* Add since parameterThomas Citharel2016-06-251-0/+45
|
* Jump to Symfony 3.1Jeremy Benoist2016-06-221-0/+513