Skip to content
Snippets Groups Projects
Unverified Commit b0fbba05 authored by dartcafe's avatar dartcafe Committed by Roeland Jago Douma
Browse files

Added test testSearch


Signed-off-by: default avatardartcafe <github@dartcafe.de>
parent 65c59109
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment