mirror of
https://github.com/wallabag/wallabag.git
synced 2025-09-15 18:57:05 +00:00
Remove remaining MOBI stuff
This commit is contained in:
parent
bdb297f2b4
commit
c6ff0bc691
6 changed files with 6 additions and 132 deletions
|
@ -75,13 +75,6 @@ class EntryRestControllerTest extends WallabagApiTestCase
|
|||
$this->assertStringContainsString('application/epub', $this->client->getResponse()->getContent());
|
||||
$this->assertSame('application/epub+zip', $this->client->getResponse()->headers->get('Content-Type'));
|
||||
|
||||
// re-auth client for mobi
|
||||
$client = $this->createAuthorizedClient();
|
||||
$client->request('GET', '/api/entries/' . $entry->getId() . '/export.mobi');
|
||||
$this->assertSame(200, $client->getResponse()->getStatusCode());
|
||||
|
||||
$this->assertSame('application/x-mobipocket-ebook', $client->getResponse()->headers->get('Content-Type'));
|
||||
|
||||
// re-auth client for pdf
|
||||
$client = $this->createAuthorizedClient();
|
||||
$client->request('GET', '/api/entries/' . $entry->getId() . '/export.pdf');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue