CRM_Activity_Form_SearchTest::testQill can fail semi-randomly
I think it's because it uses a dataprovider that calculates time-sensitive things. Dataproviders run at a different unknown time from when the test itself runs. Could use a callback to work around it, or just not use a dataprovider.
Example fail:
CRM_Activity_Form_SearchTest::testQill with data set #0 (array(array('activity_date_time_relative', '=', 'ending_60.day', 0, 0)), array(array('Activity Date is Last 60 days...59 PM)')))
Failed asserting that two arrays are equal.
--- Expected
+++ Actual
@@ @@
Array (
0 => Array (
- 0 => 'Activity Date is Last 60 days including today (between May 22nd, 2020 12:00 AM and July 20th, 2020 11:59 PM)'
+ 0 => 'Activity Date is Last 60 days including today (between May 23rd, 2020 12:00 AM and July 21st, 2020 11:59 PM)'
)
)
/home/jenkins/bknix-dfl/build/core-17901-5ckvo/web/sites/all/modules/civicrm/tests/phpunit/CRM/Activity/Form/SearchTest.php:77
/home/jenkins/bknix-dfl/build/core-17901-5ckvo/web/sites/all/modules/civicrm/tests/phpunit/CiviTest/CiviUnitTestCase.php:209
/home/jenkins/bknix-dfl/extern/phpunit7/phpunit7.phar:615