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