You are here

protected function FedExUnitTestBase::setUp in Commerce FedEx 8

Overrides UnitTestCase::setUp

File

tests/src/Unit/FedExUnitTestBase.php, line 16

Class

FedExUnitTestBase
A test base class for FedEx Unit Tests.

Namespace

Drupal\Tests\commerce_fedex\Unit

Code

protected function setUp() {
  parent::setUp();
  $this->request = new FedExRequest();
  $this->configuration = [
    'api_information' => [
      'api_key' => 'testkey',
      'api_password' => 'testpass',
      'account_number' => '1234567',
      'meter_number' => '9876543',
      'mode' => 'test',
    ],
  ];
}