Commit graph

6 commits

Author SHA1 Message Date
Jeremy Benoist ac8cf632bb
Ensure orphan tag are remove in API
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!)
2016-10-07 23:31:53 +02:00
Jeremy Benoist 74e1f7433a
Fix tag test 2016-10-07 07:43:48 +02:00
Nicolas Lœuillet 084fb0d303 Some fixes about upgrade from 2.0.x -> 2.1.0 2016-09-28 10:04:36 +02:00
Nicolas Lœuillet 267e8d6361
Add tests for tag list routes 2016-08-23 07:26:18 +02:00
Jeremy Benoist fdc90ceb17 Change the way to login user in tests
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
2016-06-24 11:55:47 +02:00
Jeremy Benoist 23634d5d84 Jump to Symfony 3.1 2016-06-22 17:59:35 +02:00
Renamed from src/Wallabag/CoreBundle/Tests/Controller/TagControllerTest.php (Browse further)