From fb28fadcf6e71b4b797aa4241436ec3add543ba0 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Tue, 21 Oct 2014 23:45:06 +0200 Subject: get rid of faviconfetcher and use picofeed --- tests/unit/config/ConfigTest.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tests/unit/config') diff --git a/tests/unit/config/ConfigTest.php b/tests/unit/config/ConfigTest.php index 2032c2169..9aaac57c5 100644 --- a/tests/unit/config/ConfigTest.php +++ b/tests/unit/config/ConfigTest.php @@ -42,7 +42,7 @@ class ConfigTest extends \PHPUnit_Framework_TestCase { public function testDefaults() { $this->assertEquals(60, $this->config->getAutoPurgeMinimumInterval()); $this->assertEquals(200, $this->config->getAutoPurgeCount()); - $this->assertEquals(30*60, $this->config->getSimplePieCacheDuration()); + $this->assertEquals(30*60, $this->config->getCacheDuration()); $this->assertEquals(60, $this->config->getFeedFetcherTimeout()); $this->assertEquals(true, $this->config->getUseCronUpdates()); $this->assertEquals(8080, $this->config->getProxyPort()); @@ -128,7 +128,7 @@ class ConfigTest extends \PHPUnit_Framework_TestCase { public function testWrite () { $json = 'autoPurgeMinimumInterval = 60' . "\n" . 'autoPurgeCount = 3' . "\n" . - 'simplePieCacheDuration = 1800' . "\n" . + 'cacheDuration = 1800' . "\n" . 'feedFetcherTimeout = 60' . "\n" . 'useCronUpdates = true' . "\n" . 'proxyHost = yo man' . "\n" . @@ -165,7 +165,7 @@ class ConfigTest extends \PHPUnit_Framework_TestCase { $json = 'autoPurgeMinimumInterval = 60' . "\n" . 'autoPurgeCount = 200' . "\n" . - 'simplePieCacheDuration = 1800' . "\n" . + 'cacheDuration = 1800' . "\n" . 'feedFetcherTimeout = 60' . "\n" . 'useCronUpdates = false' . "\n" . 'proxyHost = ' . "\n" . @@ -206,8 +206,8 @@ class ConfigTest extends \PHPUnit_Framework_TestCase { } public function testCacheDuration() { - $this->config->setSimplePieCacheDuration(21); - $duration = $this->config->getSimplePieCacheDuration(); + $this->config->setCacheDuration(21); + $duration = $this->config->getCacheDuration(); $this->assertSame(21, $duration); } -- cgit v1.2.3