/**
* Clean up DB.
*/
- public function tearDown() {
+ public function tearDown(): void {
$this->quickCleanUpFinancialEntities();
+ parent::tearDown();
}
/**
* Test that correct contribution status is fetched for both live and test contributions.
*/
- public function testLiveAndTestContributionStatus() {
+ public function testLiveAndTestContributionStatus(): void {
$paymentProcessorID = $this->paymentProcessorCreate(['payment_processor_type_id' => 'Dummy']);
$form = $this->getThankYouFormWithContribution($paymentProcessorID, FALSE, FALSE);
if ($isTestContribution) {
$form->_mode = 'test';
}
+ $form->_values = [
+ 'custom_pre_id' => NULL,
+ 'custom_post_id' => NULL,
+ ];
return $form;
}