Merge pull request #4123 from wallabag/fix-reading-speed-install

Fixed default value for reading speed
This commit is contained in:
Nicolas Lœuillet 2019-09-19 14:51:30 +02:00 committed by GitHub
commit 492aacd194
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -30,7 +30,7 @@ class Configuration implements ConfigurationInterface
->defaultValue(50)
->end()
->integerNode('reading_speed')
->defaultValue(1)
->defaultValue(200)
->end()
->scalarNode('version')
->end()

View File

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

View File

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

View File

@ -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')