diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-11-24 23:28:24 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-11-25 22:23:34 +0100 |
commit | b799e42b4e4f9ec1dd1fa9b93dd036581fbf2e92 (patch) | |
tree | c5fae8ae4dc2bd6959b2d423e859fbcdb3241fb8 /tests | |
parent | c25a7cc4daf486b7ad8e50a5209acda061734d6c (diff) | |
download | nextcloud-server-b799e42b4e4f9ec1dd1fa9b93dd036581fbf2e92.tar.gz nextcloud-server-b799e42b4e4f9ec1dd1fa9b93dd036581fbf2e92.zip |
Introduce \OCP\IUser::getEMailAddress()
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/contacts/localadressbook.php | 7 |
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. + } } |