diff options
author | Morris Jobke <hey@morrisjobke.de> | 2020-07-23 13:38:49 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2020-07-30 13:18:20 +0200 |
commit | a4a086e296062c6aa7914ba6c1dddc2dddab7145 (patch) | |
tree | 55770b236bc006231f652581fab288a14aaf0aa0 /apps/dav | |
parent | 7a49d0fbeadd6825cf45031e9bb9ab0e308039d5 (diff) | |
download | nextcloud-server-a4a086e296062c6aa7914ba6c1dddc2dddab7145.tar.gz nextcloud-server-a4a086e296062c6aa7914ba6c1dddc2dddab7145.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.php | 4 |
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 8ac4961f19f..559b6f1b417 100644 --- a/apps/dav/tests/unit/CalDAV/CalDavBackendTest.php +++ b/apps/dav/tests/unit/CalDAV/CalDavBackendTest.php @@ -280,7 +280,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.'); @@ -443,7 +443,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() { |