diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2016-09-07 20:26:21 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2016-09-07 20:42:38 +0200 |
commit | d8a4769cd633d475e172b23636bcf93ecbdbb864 (patch) | |
tree | 787bc81bd10569a5830f53dee34c0b4910e64096 /tests/lib/Template/ResourceLocatorTest.php | |
parent | 9d4729cb6a33bba37d246230a15eccf6ff8c3165 (diff) | |
download | nextcloud-server-d8a4769cd633d475e172b23636bcf93ecbdbb864.tar.gz nextcloud-server-d8a4769cd633d475e172b23636bcf93ecbdbb864.zip |
Fix getMock Template
Diffstat (limited to 'tests/lib/Template/ResourceLocatorTest.php')
-rw-r--r-- | tests/lib/Template/ResourceLocatorTest.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/lib/Template/ResourceLocatorTest.php b/tests/lib/Template/ResourceLocatorTest.php index 1918b927c94..17326f6c691 100644 --- a/tests/lib/Template/ResourceLocatorTest.php +++ b/tests/lib/Template/ResourceLocatorTest.php @@ -9,6 +9,7 @@ namespace Test\Template; use OC\Template\ResourceNotFoundException; +use OCP\ILogger; class ResourceLocatorTest extends \Test\TestCase { /** @var \PHPUnit_Framework_MockObject_MockObject */ @@ -16,7 +17,7 @@ class ResourceLocatorTest extends \Test\TestCase { protected function setUp() { parent::setUp(); - $this->logger = $this->getMock('OCP\ILogger'); + $this->logger = $this->createMock(ILogger::class); } /** |