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:
commit
4f46330087
22 changed files with 50 additions and 89 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue