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

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:
Jeremy Benoist 2019-07-08 14:45:45 +02:00
parent 92cd51aa2c
commit 41022cb289
No known key found for this signature in database
GPG key ID: BCA73962457ACC3C
22 changed files with 50 additions and 89 deletions

View file

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