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:
parent
5ac6b6bff9
commit
b795622f06
5 changed files with 60 additions and 46 deletions
|
@ -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());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue