Added test testSearch

Signed-off-by: dartcafe <github@dartcafe.de>
This commit is contained in:
dartcafe 2020-01-05 21:07:36 +01:00 committed by Thomas Citharel
parent 45d9d9e003
commit efa0558263
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773
1 changed files with 3 additions and 1 deletions

View File

@ -899,8 +899,10 @@ EOD;
'{http://owncloud.org/ns}owner-principal' => $isShared ? 'user2' : 'user1',
];
$searchOptions = ['timerange' => ['start' => new DateTime('2013-09-12 13:00:00'), 'end' => new DateTime('2013-09-12 14:00:00')]];
$result = $this->backend->search($calendarInfo, 'Test',
['SUMMARY', 'LOCATION', 'ATTENDEE'], [], null, null);
['SUMMARY', 'LOCATION', 'ATTENDEE'], $searchOptions, null, null);
$this->assertCount($count, $result);
}