Commit 27e098a1 authored by DaveD's avatar DaveD
Browse files

skip tests that require 5.43 if not on 5.43

parent 4a65d546
......@@ -7,6 +7,9 @@ class CRM_Cdntaxreceipts_ReceiptsIssuedReportTest extends CRM_Cdntaxreceipts_Bas
public function setUp(): void {
parent::setUp();
if (!\CRM_Core_BAO_Domain::isDBVersionAtLeast('5.43.alpha1')) {
$this->markTestIncomplete('Test requires E_NOTICE fix that is only in 5.43+');
}
$this->setDeliveryMethod(CDNTAX_DELIVERY_PRINT_ONLY);
}
......
......@@ -14,6 +14,9 @@ class ReceiptsIssuedReportTest extends CdntaxreceiptsBase {
public function setUp(): void {
parent::setUp();
if (!\CRM_Core_BAO_Domain::isDBVersionAtLeast('5.43.alpha1')) {
$this->markTestIncomplete('Test requires E_NOTICE fix that is only in 5.43+');
}
$this->createUserAndLogIn();
$this->contact = $this->createContact();
$this->setDeliveryMethod(CDNTAX_DELIVERY_PRINT_ONLY);
......
Markdown is supported
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