]> git.immae.eu Git - github/wallabag/wallabag.git/commit - tests/Wallabag/CoreBundle/Controller/TagControllerTest.php
Simplify tag creation from entry 1805/head
authorJeremy Benoist <jeremy.benoist@gmail.com>
Sun, 27 Mar 2016 15:09:33 +0000 (17:09 +0200)
committerJeremy Benoist <jeremy.benoist@gmail.com>
Sun, 27 Mar 2016 15:09:33 +0000 (17:09 +0200)
commit2baca964f38e658f60c8b9f81a9db289ba85bd0d
treef229054b676da315fba9e0ee35d90e838c5e37a5
parent5a4ee4ae0fe7bed85fc68a9e96aee8bf5d1ee782
Simplify tag creation from entry

Testing that a tag exist or is assigned to the current entry isn't important in the tag controler since the `assignTagsToEntry` is already doing that job.
So it simplify the controller.
src/Wallabag/ApiBundle/Tests/Controller/WallabagRestControllerTest.php
src/Wallabag/CoreBundle/Controller/TagController.php
src/Wallabag/CoreBundle/Tests/Controller/TagControllerTest.php