summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-02-03 11:52:01 -0600
committerMorris Jobke <hey@morrisjobke.de>2017-02-03 11:52:01 -0600
commit942465c8b1b09eb1d77585ec12ea7868130f9571 (patch)
treea4f24b7400b16436a448a8e336b762c63c709b32
parent3d8a300b77f2c9a5ba4a899b81ae3ab3883097eb (diff)
downloadnextcloud-server-942465c8b1b09eb1d77585ec12ea7868130f9571.tar.gz
nextcloud-server-942465c8b1b09eb1d77585ec12ea7868130f9571.zip
fix unit tests
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
-rw-r--r--tests/lib/Template/ResourceLocatorTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/Template/ResourceLocatorTest.php b/tests/lib/Template/ResourceLocatorTest.php
index 17326f6c691..580dfd60d0e 100644
--- a/tests/lib/Template/ResourceLocatorTest.php
+++ b/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'));