Testing¶ PHPUnit tests¶ There are a set of PHPUnit tests in test/phpunit. Date-based tests use CiviCRM core's CRM_Utils_Time::setTime() to mock the current time, so no additional PHP extensions are required to run them.