summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-11-26 16:49:49 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2015-11-26 16:49:49 +0100
commit80c43ffc6cbae26695435ea7b4d2e8126dee6725 (patch)
treea2b1d25d3814b5b16d32b17e43c78aa65b76d928 /tests
parent100d9e74571d958bb5263cf0b7f90690dbd49f26 (diff)
parentcc8c38e8ba55c5a64587951d2ef87ab1e652835d (diff)
downloadnextcloud-server-80c43ffc6cbae26695435ea7b4d2e8126dee6725.tar.gz
nextcloud-server-80c43ffc6cbae26695435ea7b4d2e8126dee6725.zip
Merge pull request #20702 from owncloud/move-user-principal-into-subfolder
Users are available under it's own principal resource named 'principa…
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.
+ }
}