summaryrefslogtreecommitdiffstats
path: root/apps/dav
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2020-07-23 13:38:49 +0200
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2020-07-23 20:26:45 +0000
commitc4bedf468e62e46921039c739bf37327364d3746 (patch)
tree74e3e76699c29c68032420bfe553b0f6e49151f4 /apps/dav
parentf11d72a9280fea8e4f5022b41116c89cc451fd32 (diff)
downloadnextcloud-server-c4bedf468e62e46921039c739bf37327364d3746.tar.gz
nextcloud-server-c4bedf468e62e46921039c739bf37327364d3746.zip
Use assertEqualsCanonicalizing instead of deprecated assertEquals parameter
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'apps/dav')
-rw-r--r--apps/dav/tests/unit/CalDAV/CalDavBackendTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/dav/tests/unit/CalDAV/CalDavBackendTest.php b/apps/dav/tests/unit/CalDAV/CalDavBackendTest.php
index 76335f00bfe..bd6a8856d51 100644
--- a/apps/dav/tests/unit/CalDAV/CalDavBackendTest.php
+++ b/apps/dav/tests/unit/CalDAV/CalDavBackendTest.php
@@ -279,7 +279,7 @@ EOD;
$this->assertCount(0, $calendarObjects);
}
-
+
public function testMultipleCalendarObjectsWithSameUID() {
$this->expectException(\Sabre\DAV\Exception\BadRequest::class);
$this->expectExceptionMessage('Calendar object with uid already exists in this calendar collection.');
@@ -441,7 +441,7 @@ EOD;
$expectedEventsInResult = array_map(function ($index) use ($events) {
return $events[$index];
}, $expectedEventsInResult);
- $this->assertEquals($expectedEventsInResult, $result, '', 0.0, 10, true);
+ $this->assertEqualsCanonicalizing($expectedEventsInResult, $result);
}
public function testGetCalendarObjectByUID() {