diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-10-21 23:45:06 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-10-21 23:45:06 +0200 |
commit | fb28fadcf6e71b4b797aa4241436ec3add543ba0 (patch) | |
tree | 01b2e19338badfa89be45c8a90c4b391b8cd6119 /tests/unit/controller | |
parent | 976cd93e3c9aef7734792ba6b53f15621c5b6c91 (diff) |
get rid of faviconfetcher and use picofeed
Diffstat (limited to 'tests/unit/controller')
-rw-r--r-- | tests/unit/controller/AdminControllerTest.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unit/controller/AdminControllerTest.php b/tests/unit/controller/AdminControllerTest.php index 61e510c24..b468823da 100644 --- a/tests/unit/controller/AdminControllerTest.php +++ b/tests/unit/controller/AdminControllerTest.php @@ -56,7 +56,7 @@ class AdminControllerTest extends \PHPUnit_Framework_TestCase { ->method('getAutoPurgeCount') ->will($this->returnValue($expected['autoPurgeCount'])); $this->config->expects($this->once()) - ->method('getSimplePieCacheDuration') + ->method('getCacheDuration') ->will($this->returnValue($expected['cacheDuration'])); $this->config->expects($this->once()) ->method('getFeedFetcherTimeout') @@ -92,7 +92,7 @@ class AdminControllerTest extends \PHPUnit_Framework_TestCase { ->method('setAutoPurgeCount') ->with($this->equalTo($expected['autoPurgeCount'])); $this->config->expects($this->once()) - ->method('setSimplePieCacheDuration') + ->method('setCacheDuration') ->with($this->equalTo($expected['cacheDuration'])); $this->config->expects($this->once()) ->method('setFeedFetcherTimeout') @@ -111,7 +111,7 @@ class AdminControllerTest extends \PHPUnit_Framework_TestCase { ->method('getAutoPurgeCount') ->will($this->returnValue($expected['autoPurgeCount'])); $this->config->expects($this->once()) - ->method('getSimplePieCacheDuration') + ->method('getCacheDuration') ->will($this->returnValue($expected['cacheDuration'])); $this->config->expects($this->once()) ->method('getFeedFetcherTimeout') |