diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2015-04-20 12:31:35 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2015-04-20 12:31:35 +0200 |
commit | ddcd79132db5b4251bff10c2dba241460fdc8f68 (patch) | |
tree | 9e50f709c28934117c5cc3e1500b92818096f820 | |
parent | 0cf13e9b78be8203b5159e3e53050d134ffe7bfb (diff) | |
download | nextcloud-server-ddcd79132db5b4251bff10c2dba241460fdc8f68.tar.gz nextcloud-server-ddcd79132db5b4251bff10c2dba241460fdc8f68.zip |
Add tests for correct path
-rw-r--r-- | tests/lib/template/resourcelocator.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/lib/template/resourcelocator.php b/tests/lib/template/resourcelocator.php index bbcd6876ac8..ef5e2ed1357 100644 --- a/tests/lib/template/resourcelocator.php +++ b/tests/lib/template/resourcelocator.php @@ -68,7 +68,8 @@ class ResourceLocator extends \Test\TestCase { ->with('foo') ->will($this->throwException(new ResourceNotFoundException('foo', 'map'))); $this->logger->expects($this->exactly(2)) - ->method('error'); + ->method('error') + ->with($this->stringContains('map/foo')); /** @var \OC\Template\ResourceLocator $locator */ $locator->find(array('foo')); } |