aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/Wallabag
diff options
context:
space:
mode:
authorJérémy Benoist <j0k3r@users.noreply.github.com>2019-07-09 11:53:20 +0200
committerGitHub <noreply@github.com>2019-07-09 11:53:20 +0200
commit4f4633008725e8cc7a760047f501fbed488def6f (patch)
treeb15d68d51565dfde13b6b7fe7a2fc4c1bc5ecc7f /tests/Wallabag
parent8effd6e99e5a1f1d0d663ee77b0f5015220d1b4a (diff)
parent41022cb289f5d08418ccb2d7050098c4ee3721e4 (diff)
downloadwallabag-4f4633008725e8cc7a760047f501fbed488def6f.tar.gz
wallabag-4f4633008725e8cc7a760047f501fbed488def6f.tar.zst
wallabag-4f4633008725e8cc7a760047f501fbed488def6f.zip
Merge pull request #4053 from wallabag/feature/manual-input-reading-speed
Add ability to manually define the reading 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 d8b5f383..46c90075 100644
--- a/tests/Wallabag/CoreBundle/Controller/ConfigControllerTest.php
+++ b/tests/Wallabag/CoreBundle/Controller/ConfigControllerTest.php
@@ -51,7 +51,7 @@ class ConfigControllerTest extends WallabagCoreTestCase
51 $data = [ 51 $data = [
52 'config[theme]' => 'baggy', 52 'config[theme]' => 'baggy',
53 'config[items_per_page]' => '30', 53 'config[items_per_page]' => '30',
54 'config[reading_speed]' => '0.5', 54 'config[reading_speed]' => '100',
55 'config[action_mark_as_read]' => '0', 55 'config[action_mark_as_read]' => '0',
56 'config[language]' => 'en', 56 'config[language]' => 'en',
57 ]; 57 ];
@@ -92,7 +92,7 @@ class ConfigControllerTest extends WallabagCoreTestCase
92 $crawler = $client->request('GET', '/config'); 92 $crawler = $client->request('GET', '/config');
93 $form = $crawler->filter('button[id=config_save]')->form(); 93 $form = $crawler->filter('button[id=config_save]')->form();
94 $data = [ 94 $data = [
95 'config[reading_speed]' => '2', 95 'config[reading_speed]' => '400',
96 ]; 96 ];
97 $client->submit($form, $data); 97 $client->submit($form, $data);
98 98
@@ -106,7 +106,7 @@ class ConfigControllerTest extends WallabagCoreTestCase
106 $crawler = $client->request('GET', '/config'); 106 $crawler = $client->request('GET', '/config');
107 $form = $crawler->filter('button[id=config_save]')->form(); 107 $form = $crawler->filter('button[id=config_save]')->form();
108 $data = [ 108 $data = [
109 'config[reading_speed]' => '0.5', 109 'config[reading_speed]' => '100',
110 ]; 110 ];
111 $client->submit($form, $data); 111 $client->submit($form, $data);
112 } 112 }