summaryrefslogtreecommitdiffstats
path: root/tests/unit/config/ConfigTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/config/ConfigTest.php')
-rw-r--r--tests/unit/config/ConfigTest.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/unit/config/ConfigTest.php b/tests/unit/config/ConfigTest.php
index bdffeb0d1..5baeae3ba 100644
--- a/tests/unit/config/ConfigTest.php
+++ b/tests/unit/config/ConfigTest.php
@@ -50,6 +50,7 @@ class ConfigTest extends \PHPUnit_Framework_TestCase {
$this->assertEquals(null, $this->config->getProxyAuth());
$this->assertEquals('', $this->config->getProxyUser());
$this->assertEquals('', $this->config->getProxyPassword());
+ $this->assertEquals('', $this->config->getExploreUrl());
$this->assertEquals(1024*1024*100, $this->config->getMaxSize());
}
@@ -131,6 +132,7 @@ class ConfigTest extends \PHPUnit_Framework_TestCase {
'autoPurgeCount = 3' . "\n" .
'maxRedirects = 10' . "\n" .
'maxSize = 399' . "\n" .
+ 'exploreUrl = http://google.de' . "\n" .
'feedFetcherTimeout = 60' . "\n" .
'useCronUpdates = true';
$this->config->setAutoPurgeCount(3);
@@ -139,6 +141,7 @@ class ConfigTest extends \PHPUnit_Framework_TestCase {
$this->config->setProxyUser('this is a test');
$this->config->setProxyPassword('se');
$this->config->setMaxSize(399);
+ $this->config->setExploreUrl('http://google.de');
$this->fileSystem->expects($this->once())
->method('file_put_contents')
@@ -166,6 +169,7 @@ class ConfigTest extends \PHPUnit_Framework_TestCase {
'autoPurgeCount = 200' . "\n" .
'maxRedirects = 10' . "\n" .
'maxSize = 104857600' . "\n" .
+ 'exploreUrl = ' . "\n" .
'feedFetcherTimeout = 60' . "\n" .
'useCronUpdates = false';