mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-15 09:57:41 +01:00
Merge pull request #4123 from wallabag/fix-reading-speed-install
Fixed default value for reading speed
This commit is contained in:
commit
492aacd194
@ -20,7 +20,7 @@ wallabag_core:
|
||||
theme: material
|
||||
language: '%locale%'
|
||||
rss_limit: 50
|
||||
reading_speed: 1
|
||||
reading_speed: 200
|
||||
cache_lifetime: 10
|
||||
action_mark_as_read: 1
|
||||
list_mode: 0
|
||||
|
@ -30,7 +30,7 @@ class Configuration implements ConfigurationInterface
|
||||
->defaultValue(50)
|
||||
->end()
|
||||
->integerNode('reading_speed')
|
||||
->defaultValue(1)
|
||||
->defaultValue(200)
|
||||
->end()
|
||||
->scalarNode('version')
|
||||
->end()
|
||||
|
@ -695,7 +695,7 @@ class ConfigControllerTest extends WallabagCoreTestCase
|
||||
|
||||
$config->setTheme('material');
|
||||
$config->setItemsPerPage(30);
|
||||
$config->setReadingSpeed(1);
|
||||
$config->setReadingSpeed(200);
|
||||
$config->setLanguage('en');
|
||||
$config->setPocketConsumerKey('xxxxx');
|
||||
|
||||
|
@ -42,7 +42,7 @@ class RedirectTest extends TestCase
|
||||
$config = new Config($user);
|
||||
$config->setTheme('material');
|
||||
$config->setItemsPerPage(30);
|
||||
$config->setReadingSpeed(1);
|
||||
$config->setReadingSpeed(200);
|
||||
$config->setLanguage('en');
|
||||
$config->setPocketConsumerKey('xxxxx');
|
||||
$config->setActionMarkAsRead(Config::REDIRECT_TO_CURRENT_PAGE);
|
||||
|
@ -64,7 +64,7 @@ class CreateConfigListenerTest extends TestCase
|
||||
$config->setItemsPerPage(20);
|
||||
$config->setFeedLimit(50);
|
||||
$config->setLanguage('fr');
|
||||
$config->setReadingSpeed(1);
|
||||
$config->setReadingSpeed(200);
|
||||
|
||||
$this->em->expects($this->once())
|
||||
->method('persist')
|
||||
|
Loading…
Reference in New Issue
Block a user