aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2022-09-29 15:15:20 +0200
committerCôme Chilliet (Rebase PR Action) <come-nc@users.noreply.github.com>2022-09-30 13:20:03 +0000
commit5347fb02dca9f55d44392d15e1c1a020d5912240 (patch)
treed0fbea458c297adfc55ab2b8abf539299031b13a /tests
parent6c2230c3d90d3cce17912bc86aa523208f5e29ce (diff)
downloadnextcloud-server-5347fb02dca9f55d44392d15e1c1a020d5912240.tar.gz
nextcloud-server-5347fb02dca9f55d44392d15e1c1a020d5912240.zip
Remove some constants and functions which have been long deprecated
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/ContactsManagerTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/ContactsManagerTest.php b/tests/lib/ContactsManagerTest.php
index 70e8dd74a1e..bc822214f26 100644
--- a/tests/lib/ContactsManagerTest.php
+++ b/tests/lib/ContactsManagerTest.php
@@ -232,7 +232,7 @@ class ContactsManagerTest extends \Test\TestCase {
// register the address book
$this->cm->registerAddressBook($addressbook);
- $all_books = $this->cm->getAddressBooks();
+ $all_books = $this->cm->getUserAddressBooks();
$this->assertEquals(1, count($all_books));
$this->assertEquals('A very simple Addressbook', $all_books['SIMPLE_ADDRESS_BOOK']);