1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-08-01 17:38:38 +00:00

Fixed testsuite

This commit is contained in:
Nicolas Lœuillet 2023-06-13 15:25:47 +02:00 committed by Simounet
parent 46521e48e5
commit 19322142c3
No known key found for this signature in database
GPG key ID: 77D3B7DC794EB770
3 changed files with 4 additions and 2 deletions

View file

@ -19,11 +19,12 @@ class ConfigRestControllerTest extends WallabagApiTestCase
$this->assertArrayHasKey('reading_speed', $config);
$this->assertArrayHasKey('action_mark_as_read', $config);
$this->assertArrayHasKey('list_mode', $config);
$this->assertArrayHasKey('display_thumbnails', $config);
$this->assertSame(200.0, $config['reading_speed']);
$this->assertSame('en', $config['language']);
$this->assertCount(6, $config);
$this->assertCount(7, $config);
$this->assertSame('application/json', $this->client->getResponse()->headers->get('Content-Type'));
}