Add tests for correct path
This commit is contained in:
parent
0cf13e9b78
commit
ddcd79132d
|
@ -68,7 +68,8 @@ class ResourceLocator extends \Test\TestCase {
|
||||||
->with('foo')
|
->with('foo')
|
||||||
->will($this->throwException(new ResourceNotFoundException('foo', 'map')));
|
->will($this->throwException(new ResourceNotFoundException('foo', 'map')));
|
||||||
$this->logger->expects($this->exactly(2))
|
$this->logger->expects($this->exactly(2))
|
||||||
->method('error');
|
->method('error')
|
||||||
|
->with($this->stringContains('map/foo'));
|
||||||
/** @var \OC\Template\ResourceLocator $locator */
|
/** @var \OC\Template\ResourceLocator $locator */
|
||||||
$locator->find(array('foo'));
|
$locator->find(array('foo'));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue