Fix getMock Template

This commit is contained in:
Roeland Jago Douma 2016-09-07 20:26:21 +02:00
parent 9d4729cb6a
commit d8a4769cd6
No known key found for this signature in database
GPG Key ID: 1E152838F164D13B
1 changed files with 2 additions and 1 deletions

View File

@ -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);
}
/**