summaryrefslogtreecommitdiffstats
path: root/tests/lib/AppFramework/Controller/ControllerTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/AppFramework/Controller/ControllerTest.php')
-rw-r--r--tests/lib/AppFramework/Controller/ControllerTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/AppFramework/Controller/ControllerTest.php b/tests/lib/AppFramework/Controller/ControllerTest.php
index b1cb1ceab6f..23ebe6ec984 100644
--- a/tests/lib/AppFramework/Controller/ControllerTest.php
+++ b/tests/lib/AppFramework/Controller/ControllerTest.php
@@ -89,7 +89,7 @@ class ControllerTest extends \Test\TestCase {
->getMock();
$this->app->expects($this->any())
->method('getAppName')
- ->will($this->returnValue('apptemplate_advanced'));
+ ->willReturn('apptemplate_advanced');
$this->controller = new ChildController($this->app, $request);
}