[Pkg-owncloud-commits] [owncloud] 37/63: adjust tests for 8.0

David Prévot taffit at moszumanska.debian.org
Tue Dec 22 16:50:58 UTC 2015


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

taffit pushed a commit to branch stable8.0
in repository owncloud.

commit 1ec2f3233ef07f8d14ce7e230081a91003d0dbbb
Author: Arthur Schiwon <blizzz at owncloud.com>
Date:   Tue Dec 15 12:59:16 2015 +0100

    adjust tests for 8.0
---
 apps/user_ldap/tests/user_ldap.php | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/apps/user_ldap/tests/user_ldap.php b/apps/user_ldap/tests/user_ldap.php
index 59f5e8f..a2a9e46 100644
--- a/apps/user_ldap/tests/user_ldap.php
+++ b/apps/user_ldap/tests/user_ldap.php
@@ -30,6 +30,7 @@ use \OCA\user_ldap\lib\ILDAPWrapper;
 class Test_User_Ldap_Direct extends \Test\TestCase {
 	protected $backend;
 	protected $access;
+	protected $configMock;
 
 	protected function setUp() {
 		parent::setUp();
@@ -62,9 +63,12 @@ class Test_User_Ldap_Direct extends \Test\TestCase {
 			->disableOriginalConstructor()
 			->getMock();
 
+		$this->configMock = $this->getMock('\OCP\IConfig');
+
 		$um = $this->getMockBuilder('\OCA\user_ldap\lib\user\Manager')
 			->setMethods(['getDeletedUser'])
 			->setConstructorArgs([
+				$this->configMock,
 				$this->getMock('\OCA\user_ldap\lib\FilesystemHelper'),
 				$this->getMock('\OCA\user_ldap\lib\LogWrapper'),
 				$this->getMock('\OCP\IAvatarManager'),

-- 
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