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 Roeland Jago Douma
parent 65c591093e
commit b0fbba05f2
No known key found for this signature in database
GPG Key ID: F941078878347C0C
1 changed files with 3 additions and 1 deletions

View File

@ -900,8 +900,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);
}