mirror of
https://github.com/nextcloud/server.git
synced 2026-06-12 18:21:40 -04:00
Added test testSearch
Signed-off-by: dartcafe <github@dartcafe.de>
This commit is contained in:
parent
45d9d9e003
commit
efa0558263
1 changed files with 3 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue