aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/Wallabag
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2019-09-19 14:23:06 +0200
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2019-09-19 14:23:06 +0200
commitaf7b22a3be35fff69b877ff68f9a12b1b73b421e (patch)
tree8cf99c118c54572e36fbdc4239539f63f5e81faf /tests/Wallabag
parentc7fce40b448a730b8722bfe39b21aa91fb58201a (diff)
downloadwallabag-af7b22a3be35fff69b877ff68f9a12b1b73b421e.tar.gz
wallabag-af7b22a3be35fff69b877ff68f9a12b1b73b421e.tar.zst
wallabag-af7b22a3be35fff69b877ff68f9a12b1b73b421e.zip
Fixed default value for reading speed
Diffstat (limited to 'tests/Wallabag')
-rw-r--r--tests/Wallabag/CoreBundle/Controller/ConfigControllerTest.php2
-rw-r--r--tests/Wallabag/CoreBundle/Helper/RedirectTest.php2
-rw-r--r--tests/Wallabag/UserBundle/EventListener/CreateConfigListenerTest.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/Wallabag/CoreBundle/Controller/ConfigControllerTest.php b/tests/Wallabag/CoreBundle/Controller/ConfigControllerTest.php
index 46c90075..fa93c9c2 100644
--- a/tests/Wallabag/CoreBundle/Controller/ConfigControllerTest.php
+++ b/tests/Wallabag/CoreBundle/Controller/ConfigControllerTest.php
@@ -695,7 +695,7 @@ class ConfigControllerTest extends WallabagCoreTestCase
695 695
696 $config->setTheme('material'); 696 $config->setTheme('material');
697 $config->setItemsPerPage(30); 697 $config->setItemsPerPage(30);
698 $config->setReadingSpeed(1); 698 $config->setReadingSpeed(200);
699 $config->setLanguage('en'); 699 $config->setLanguage('en');
700 $config->setPocketConsumerKey('xxxxx'); 700 $config->setPocketConsumerKey('xxxxx');
701 701
diff --git a/tests/Wallabag/CoreBundle/Helper/RedirectTest.php b/tests/Wallabag/CoreBundle/Helper/RedirectTest.php
index 29e12cbe..021efa46 100644
--- a/tests/Wallabag/CoreBundle/Helper/RedirectTest.php
+++ b/tests/Wallabag/CoreBundle/Helper/RedirectTest.php
@@ -42,7 +42,7 @@ class RedirectTest extends TestCase
42 $config = new Config($user); 42 $config = new Config($user);
43 $config->setTheme('material'); 43 $config->setTheme('material');
44 $config->setItemsPerPage(30); 44 $config->setItemsPerPage(30);
45 $config->setReadingSpeed(1); 45 $config->setReadingSpeed(200);
46 $config->setLanguage('en'); 46 $config->setLanguage('en');
47 $config->setPocketConsumerKey('xxxxx'); 47 $config->setPocketConsumerKey('xxxxx');
48 $config->setActionMarkAsRead(Config::REDIRECT_TO_CURRENT_PAGE); 48 $config->setActionMarkAsRead(Config::REDIRECT_TO_CURRENT_PAGE);
diff --git a/tests/Wallabag/UserBundle/EventListener/CreateConfigListenerTest.php b/tests/Wallabag/UserBundle/EventListener/CreateConfigListenerTest.php
index d976c4ac..8a8ec3cf 100644
--- a/tests/Wallabag/UserBundle/EventListener/CreateConfigListenerTest.php
+++ b/tests/Wallabag/UserBundle/EventListener/CreateConfigListenerTest.php
@@ -64,7 +64,7 @@ class CreateConfigListenerTest extends TestCase
64 $config->setItemsPerPage(20); 64 $config->setItemsPerPage(20);
65 $config->setFeedLimit(50); 65 $config->setFeedLimit(50);
66 $config->setLanguage('fr'); 66 $config->setLanguage('fr');
67 $config->setReadingSpeed(1); 67 $config->setReadingSpeed(200);
68 68
69 $this->em->expects($this->once()) 69 $this->em->expects($this->once())
70 ->method('persist') 70 ->method('persist')