forked from wallabag/wallabag
Add ability to manually define the reading speed
Instead of using a select, let the user decide its own speed.
This commit is contained in:
@ -50,7 +50,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',
|
||||
];
|
||||
@ -91,7 +91,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);
|
||||
|
||||
@ -105,7 +105,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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user