aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/Wallabag
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2019-07-08 14:45:45 +0200
committerJeremy Benoist <jeremy.benoist@gmail.com>2019-07-08 20:18:59 +0200
commit41022cb289f5d08418ccb2d7050098c4ee3721e4 (patch)
tree3a16462a3900d617b6bc0451a3964b98c8f45206 /tests/Wallabag
parent92cd51aa2c29e23f137cde9b9732ced33ff38e59 (diff)
downloadwallabag-41022cb289f5d08418ccb2d7050098c4ee3721e4.tar.gz
wallabag-41022cb289f5d08418ccb2d7050098c4ee3721e4.tar.zst
wallabag-41022cb289f5d08418ccb2d7050098c4ee3721e4.zip
Add ability to manually define the reading speed
Instead of using a select, let the user decide its own speed.
Diffstat (limited to 'tests/Wallabag')
-rw-r--r--tests/Wallabag/CoreBundle/Controller/ConfigControllerTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/Wallabag/CoreBundle/Controller/ConfigControllerTest.php b/tests/Wallabag/CoreBundle/Controller/ConfigControllerTest.php
index b9e0bed2..2c428fa0 100644
--- a/tests/Wallabag/CoreBundle/Controller/ConfigControllerTest.php
+++ b/tests/Wallabag/CoreBundle/Controller/ConfigControllerTest.php
@@ -50,7 +50,7 @@ class ConfigControllerTest extends WallabagCoreTestCase
50 $data = [ 50 $data = [
51 'config[theme]' => 'baggy', 51 'config[theme]' => 'baggy',
52 'config[items_per_page]' => '30', 52 'config[items_per_page]' => '30',
53 'config[reading_speed]' => '0.5', 53 'config[reading_speed]' => '100',
54 'config[action_mark_as_read]' => '0', 54 'config[action_mark_as_read]' => '0',
55 'config[language]' => 'en', 55 'config[language]' => 'en',
56 ]; 56 ];
@@ -91,7 +91,7 @@ class ConfigControllerTest extends WallabagCoreTestCase
91 $crawler = $client->request('GET', '/config'); 91 $crawler = $client->request('GET', '/config');
92 $form = $crawler->filter('button[id=config_save]')->form(); 92 $form = $crawler->filter('button[id=config_save]')->form();
93 $data = [ 93 $data = [
94 'config[reading_speed]' => '2', 94 'config[reading_speed]' => '400',
95 ]; 95 ];
96 $client->submit($form, $data); 96 $client->submit($form, $data);
97 97
@@ -105,7 +105,7 @@ class ConfigControllerTest extends WallabagCoreTestCase
105 $crawler = $client->request('GET', '/config'); 105 $crawler = $client->request('GET', '/config');
106 $form = $crawler->filter('button[id=config_save]')->form(); 106 $form = $crawler->filter('button[id=config_save]')->form();
107 $data = [ 107 $data = [
108 'config[reading_speed]' => '0.5', 108 'config[reading_speed]' => '100',
109 ]; 109 ];
110 $client->submit($form, $data); 110 $client->submit($form, $data);
111 } 111 }