You are here

function PaymentTestPaymentLineItemFormElementWebTestCase::setUp in Payment 7

Overrides parent::setUp().

Overrides PaymentWebTestCase::setUp

File

tests/payment_test/tests/PaymentTestPaymentLineItemFormElementWebTestCase.test, line 24
Contains class PaymentTestPaymentLineItemFormElementWebTestCase.

Class

PaymentTestPaymentLineItemFormElementWebTestCase
Tests the payment_line_item form element.

Code

function setUp(array $modules = array()) {
  parent::setUp($modules + array(
    'payment',
    'payment_test',
  ));
  $this->PaymentLineItemData = array(
    'line_item[container_0][amount]' => '10.0',
    'line_item[container_0][description]' => 'foo',
    'line_item[container_0][name]' => 'bar',
    'line_item[container_0][quantity]' => '-1.1',
    'line_item[container_0][tax_rate]' => '10',
  );
}