You are here

protected function UbercartPaymentPaneTestCase::setUp in Ubercart 7.3

Overrides DrupalWebTestCase::setUp().

Overrides UbercartTestHelper::setUp

File

payment/uc_payment/tests/uc_payment.test, line 24
Ubercart payment related tests.

Class

UbercartPaymentPaneTestCase
Tests the checkout payment pane.

Code

protected function setUp($modules = array(), $permissions = array()) {
  parent::setUp(array(
    'uc_payment',
    'uc_payment_pack',
  ));
  $this
    ->drupalLogin($this->adminUser);
  $this
    ->drupalPost('node/' . $this->product->nid, array(), t('Add to cart'));
}