summaryrefslogtreecommitdiffstats
path: root/tests/unit/controller/AdminControllerTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/controller/AdminControllerTest.php')
-rw-r--r--tests/unit/controller/AdminControllerTest.php6
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')