aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/ApiBundle/Controller/UserRestController.php
diff options
context:
space:
mode:
authorKevin Decherf <kevin@kdecherf.com>2019-02-17 15:25:21 +0100
committerKevin Decherf <kevin@kdecherf.com>2019-02-17 15:25:21 +0100
commit4e0ed3368d2bdc2fa0d330e58902e792a896be06 (patch)
tree8343e13a3d04a6bf51f8b96a7d244ddbedecfd4d /src/Wallabag/ApiBundle/Controller/UserRestController.php
parentb1992b340e21b6846a1ec2ae6ddd7217f3b24fb5 (diff)
downloadwallabag-4e0ed3368d2bdc2fa0d330e58902e792a896be06.tar.gz
wallabag-4e0ed3368d2bdc2fa0d330e58902e792a896be06.tar.zst
wallabag-4e0ed3368d2bdc2fa0d330e58902e792a896be06.zip
tests: create entry for testDeleteEntry, fix missing id
When using the entity manager to retrieve an already stored entry, the id disapears from $entry after the first delete call. This leads to testing a nonexistent endpoint (api/entries/.json) during the second delete call. This change now creates an entry specifically for the test. Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
Diffstat (limited to 'src/Wallabag/ApiBundle/Controller/UserRestController.php')
0 files changed, 0 insertions, 0 deletions