aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib
diff options
context:
space:
mode:
authorCôme Chilliet <91878298+come-nc@users.noreply.github.com>2022-10-01 17:55:31 +0200
committerGitHub <noreply@github.com>2022-10-01 17:55:31 +0200
commita4c2aeef4523b1fa1c43f3a92846b7b9e8abd468 (patch)
tree4c24676ae19e96592e73403f29c73ca717fad089 /tests/lib
parentf317025ed08397167cfddf5ba466f71ed7ed5874 (diff)
parent4123eeeaa3bbd3ecf7d78c42907d4bce024aaae8 (diff)
downloadnextcloud-server-a4c2aeef4523b1fa1c43f3a92846b7b9e8abd468.tar.gz
nextcloud-server-a4c2aeef4523b1fa1c43f3a92846b7b9e8abd468.zip
Merge pull request #34329 from nextcloud/fix/cleanup-long-time-deprecated-stuff
Remove some constants and functions which have been long deprecated
Diffstat (limited to 'tests/lib')
-rw-r--r--tests/lib/ContactsManagerTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/ContactsManagerTest.php b/tests/lib/ContactsManagerTest.php
index 70e8dd74a1e..c02a95a4162 100644
--- a/tests/lib/ContactsManagerTest.php
+++ b/tests/lib/ContactsManagerTest.php
@@ -232,9 +232,9 @@ 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']);
+ $this->assertEquals($addressbook, $all_books['SIMPLE_ADDRESS_BOOK']);
}
}