Commit eeecc4c8 authored by DaveD's avatar DaveD
Browse files

Merge branch 'temp-5.45' into 'master'

Testing temporary red error box silencing for 5.45

See merge request !172
parents 35118750 a9633793
......@@ -29,6 +29,15 @@ class CdntaxreceiptsBase extends CiviCrmTestBase {
$this->setUpExtension('org.civicrm.cdntaxreceipts');
$this->configureTaxReceiptSettings();
// Temporarily turn off version_check for 5.45 since it pops up a
// box about a security release which the tests interpret as an error box.
if (!\CRM_Core_BAO_Domain::isDBVersionAtLeast('5.46.alpha1')) {
$versioncheck = civicrm_api3('Job', 'get', ['api_action' => 'version_check', 'return' => ['id']]);
foreach ($versioncheck['values'] as $vcheck) {
civicrm_api3('Job', 'create', ['id' => $vcheck['id'], 'is_active' => 0]);
}
}
}
/**
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment