Field();
$this->assertStringContainsString('assertStringContainsString('disabled', $result, 'The input should be disabled');
$this->assertStringContainsString('$5.00', $result, 'The value should be rendered');
}
public function testFieldWithCustomisedCurrencySymbol()
{
DBCurrency::config()->set('currency_symbol', '€');
$field = new CurrencyField_Disabled('Test', '', '€5.00');
$result = $field->Field();
$this->assertStringContainsString('assertStringContainsString('disabled', $result, 'The input should be disabled');
$this->assertStringContainsString('€5.00', $result, 'The value should be rendered');
}
}