1
0
Fork 0
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:
Jeremy Benoist 2023-08-23 08:44:40 +02:00
parent bdb297f2b4
commit c6ff0bc691
No known key found for this signature in database
GPG key ID: 7168D5DD29F38552
6 changed files with 6 additions and 132 deletions

View file

@ -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');