fix unit tests

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
pull/3364/head
Morris Jobke 9 years ago
parent 3d8a300b77
commit 942465c8b1
No known key found for this signature in database
GPG Key ID: 9CE5ED29E7FCD38A
  1. 2
      tests/lib/Template/ResourceLocatorTest.php

@ -69,7 +69,7 @@ class ResourceLocatorTest extends \Test\TestCase {
->with('foo')
->will($this->throwException(new ResourceNotFoundException('foo', 'map')));
$this->logger->expects($this->exactly(2))
->method('error')
->method('debug')
->with($this->stringContains('map/foo'));
/** @var \OC\Template\ResourceLocator $locator */
$locator->find(array('foo'));

Loading…
Cancel
Save