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/controller/AdminControllerTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/unit/controller/AdminControllerTest.php') 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') -- cgit v1.2.3