Fix getMock Template
This commit is contained in:
parent
9d4729cb6a
commit
d8a4769cd6
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue