public function webtestGetValidCountryID() {
static $_country_id;
if (is_null($_country_id)) {
- $_country_id = $this->webtestGetSetting('defaultContactCountry');
+ $_country_id = Civi::settings()->get('defaultContactCountry');
}
return $_country_id;
}
$this->webtestVerifyTabularData($expected);
$expectedSoft = array(
'Soft Credit To' => "{$data['soft_credit_first_name']} {$data['soft_credit_last_name']}",
- 'Amount (Soft Credit Type)' => $data['soft_credit_amount'],
+ 'Amount (Soft Credit Type)' => "{$data['soft_credit_amount']}",
'Soft Credit Type' => $data['soft_credit_type'],
);
foreach ($expectedSoft as $value) {
$this->webtestVerifyTabularData($expected);
$expectedSoft = array(
'Soft Credit To' => "{$data['soft_credit_first_name']} {$data['soft_credit_last_name']}",
- 'Amount (Soft Credit Type)' => $data['soft_credit_amount'],
+ 'Amount (Soft Credit Type)' => "{$data['soft_credit_amount']}",
'Soft Credit Type' => $data['soft_credit_type'],
);
foreach ($expectedSoft as $value) {