diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-07-24 10:55:49 +0200 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-08-23 07:26:58 +0200 |
commit | a0e1eafc35e1007056555651ace7221d09cd8270 (patch) | |
tree | f565b8d53fbf89e0a2221467fee213fdc3153050 /bin/console | |
parent | 9bf83f1fb8d588b871a5d12289179de087756d02 (diff) | |
download | wallabag-a0e1eafc35e1007056555651ace7221d09cd8270.tar.gz wallabag-a0e1eafc35e1007056555651ace7221d09cd8270.tar.zst wallabag-a0e1eafc35e1007056555651ace7221d09cd8270.zip |
Add some tests
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.
Diffstat (limited to 'bin/console')
0 files changed, 0 insertions, 0 deletions