You are here

protected function CurrencyAmountViewsHandlerFieldWebTestCase::dataSet in Currency 7.2

Overrides parent::dataSet();

Overrides ViewsSqlTest::dataSet

File

currency/tests/CurrencyAmountViewsHandlerFieldWebTestCase.test, line 122
Contains class CurrencyAmountViewsHandlerFieldWebTestCase.

Class

CurrencyAmountViewsHandlerFieldWebTestCase
Tests CurrencyAmountViewsHandlerField.

Code

protected function dataSet() {
  $amounts = array(
    'amount_currency_code_definition' => 123.456,
    'amount_currency_code_field_definition' => 123.456,
    'amount_currency_code_field_table_definition' => 123.456,
    'amount_currency_undefined' => 123.456,
  );
  return array(
    array(
      'currency_code' => 'EUR',
    ) + $amounts,
    array(
      'currency_code' => 'USD',
    ) + $amounts,
    array(
      'currency_code' => '',
    ) + $amounts,
  );
}