You are here

public function CommerceUPSAdministrationTestCase::testCommerceUPSSettingsForm in Commerce UPS 7

Same name and namespace in other branches
  1. 7.2 tests/commerce_ups.test \CommerceUPSAdministrationTestCase::testCommerceUPSSettingsForm()

File

tests/commerce_ups.test, line 39

Class

CommerceUPSAdministrationTestCase
Administration tests for my module.

Code

public function testCommerceUPSSettingsForm() {

  // Log in as store admin.

  //$this->drupalLogin($this->site_admin);

  // Access to the config page for checkout forms
  $this
    ->drupalGet('admin/commerce/config/shipping/methods/ups/edit');
  $this
    ->assertResponse(200, 'Hit something');
}