forked from wallabag/wallabag
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!)
This commit is contained in:
@ -29,7 +29,7 @@ services:
|
||||
arguments:
|
||||
- "@doctrine"
|
||||
|
||||
wallabag_core.table_prefix_subscriber:
|
||||
wallabag_core.subscriber.table_prefix:
|
||||
class: Wallabag\CoreBundle\Subscriber\TablePrefixSubscriber
|
||||
arguments:
|
||||
- "%database_table_prefix%"
|
||||
|
||||
Reference in New Issue
Block a user