You are here

protected function UbercartStockTestCase::setUp in Ubercart 7.3

Same name and namespace in other branches
  1. 6.2 uc_stock/uc_stock.test \UbercartStockTestCase::setUp()

Overrides DrupalWebTestCase::setUp().

Overrides UbercartTestHelper::setUp

File

uc_stock/tests/uc_stock.test, line 21
Ubercart stock related tests.

Class

UbercartStockTestCase
@file Ubercart stock related tests.

Code

protected function setUp($modules = array(), $permissions = array()) {
  parent::setUp(array(
    'uc_stock',
  ), array(
    'administer product stock',
  ));
  $this
    ->drupalLogin($this->adminUser);
}