wallabag/tests/Wallabag/ApiBundle/Controller
Kevin Decherf 4e0ed3368d 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>
2019-02-17 15:25:21 +01:00
..
DeveloperControllerTest.php Cast client id to avoid PG error 2019-01-09 23:31:14 +01:00
EntryRestControllerTest.php tests: create entry for testDeleteEntry, fix missing id 2019-02-17 15:25:21 +01:00
TagRestControllerTest.php TagRestController: fix test for tag without entries 2018-12-30 01:34:49 +01:00
UserRestControllerTest.php Add a real configuration for CS-Fixer 2017-07-01 09:52:38 +02:00
WallabagRestControllerTest.php Add a real configuration for CS-Fixer 2017-07-01 09:52:38 +02:00