[Pkg-owncloud-commits] [owncloud] 100/165: Add tests for correct path

David Prévot taffit at moszumanska.debian.org
Thu Apr 23 04:06:40 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch stable8
in repository owncloud.

commit ddcd79132db5b4251bff10c2dba241460fdc8f68
Author: Joas Schilling <nickvergessen at owncloud.com>
Date:   Mon Apr 20 12:31:35 2015 +0200

    Add tests for correct path
---
 tests/lib/template/resourcelocator.php | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/lib/template/resourcelocator.php b/tests/lib/template/resourcelocator.php
index bbcd687..ef5e2ed 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'));
 	}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list