Skip to content
Permalink
Browse files

Tasks test should not run ical test if too many calendar events

  • Loading branch information...
chrisgraham committed May 15, 2019
1 parent dbbc060 commit 9008858b144200130b9272fdad197dfdc8e16a60
Showing with 5 additions and 0 deletions.
  1. +5 −0 _tests/tests/unit_tests/tasks.php
@@ -86,6 +86,11 @@ public function testCalendarICal()
return;
}
if ($GLOBALS['SITE_DB']->query_select_value('calendar_events', 'COUNT(*)') > 1000) {
$this->assertTrue(false, 'Test will not work on databases with a lot of calendar events');
return;
}
require_code('calendar2');
// Add complex event with start and recurrence

0 comments on commit 9008858

Please sign in to comment.
You can’t perform that action at this time.