diff options
author | Kevin Decherf <kevin@kdecherf.com> | 2019-02-17 15:25:21 +0100 |
---|---|---|
committer | Kevin Decherf <kevin@kdecherf.com> | 2019-02-17 15:25:21 +0100 |
commit | 4e0ed3368d2bdc2fa0d330e58902e792a896be06 (patch) | |
tree | 8343e13a3d04a6bf51f8b96a7d244ddbedecfd4d /src/Wallabag/ApiBundle/Controller/WallabagRestController.php | |
parent | b1992b340e21b6846a1ec2ae6ddd7217f3b24fb5 (diff) | |
download | wallabag-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/WallabagRestController.php')
0 files changed, 0 insertions, 0 deletions