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

Merge pull request #4053 from wallabag/feature/manual-input-reading-speed

Add ability to manually define the reading speed
This commit is contained in:
Jérémy Benoist 2019-07-09 11:53:20 +02:00 committed by GitHub
commit 4f46330087
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
22 changed files with 50 additions and 89 deletions

View file

@ -51,7 +51,7 @@ class ConfigControllerTest extends WallabagCoreTestCase
$data = [
'config[theme]' => 'baggy',
'config[items_per_page]' => '30',
'config[reading_speed]' => '0.5',
'config[reading_speed]' => '100',
'config[action_mark_as_read]' => '0',
'config[language]' => 'en',
];
@ -92,7 +92,7 @@ class ConfigControllerTest extends WallabagCoreTestCase
$crawler = $client->request('GET', '/config');
$form = $crawler->filter('button[id=config_save]')->form();
$data = [
'config[reading_speed]' => '2',
'config[reading_speed]' => '400',
];
$client->submit($form, $data);
@ -106,7 +106,7 @@ class ConfigControllerTest extends WallabagCoreTestCase
$crawler = $client->request('GET', '/config');
$form = $crawler->filter('button[id=config_save]')->form();
$data = [
'config[reading_speed]' => '0.5',
'config[reading_speed]' => '100',
];
$client->submit($form, $data);
}