summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-11-24 23:28:24 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2015-11-25 22:23:34 +0100
commitb799e42b4e4f9ec1dd1fa9b93dd036581fbf2e92 (patch)
treec5fae8ae4dc2bd6959b2d423e859fbcdb3241fb8 /tests
parentc25a7cc4daf486b7ad8e50a5209acda061734d6c (diff)
downloadnextcloud-server-b799e42b4e4f9ec1dd1fa9b93dd036581fbf2e92.tar.gz
nextcloud-server-b799e42b4e4f9ec1dd1fa9b93dd036581fbf2e92.zip
Introduce \OCP\IUser::getEMailAddress()
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/contacts/localadressbook.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/lib/contacts/localadressbook.php b/tests/lib/contacts/localadressbook.php
index a34d45bf3d0..6bfcf3d890a 100644
--- a/tests/lib/contacts/localadressbook.php
+++ b/tests/lib/contacts/localadressbook.php
@@ -1,5 +1,6 @@
<?php
use OC\Contacts\LocalAddressBook;
+use OCP\IUser;
/**
* ownCloud
@@ -44,7 +45,7 @@ class Test_LocalAddressBook extends \Test\TestCase
}
-class SimpleUserForTesting implements \OCP\IUser {
+class SimpleUserForTesting implements IUser {
public function __construct($uid, $displayName) {
@@ -95,4 +96,8 @@ class SimpleUserForTesting implements \OCP\IUser {
public function setEnabled($enabled) {
}
+
+ public function getEMailAddress() {
+ // TODO: Implement getEMailAddress() method.
+ }
}