1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-09-15 18:57:05 +00:00

Prepare 2.5.3

This commit is contained in:
Jeremy Benoist 2023-02-01 09:51:02 +01:00
parent 5ac6b6bff9
commit b795622f06
No known key found for this signature in database
GPG key ID: 7168D5DD29F38552
5 changed files with 60 additions and 46 deletions

View file

@ -72,9 +72,12 @@ class ExportControllerTest extends WallabagCoreTestCase
$this->logInAs('admin');
$client = $this->getClient();
// Entry with id 3 is owned by the user bob
// See EntryFixtures
$client->request('GET', '/export/3.mobi');
$content = $client->getContainer()
->get('doctrine.orm.entity_manager')
->getRepository('WallabagCoreBundle:Entry')
->findOneByUsernameAndNotArchived('bob');
$client->request('GET', '/export/' . $content->getId() . '.mobi');
$this->assertSame(404, $client->getResponse()->getStatusCode());
}