You are here

public function UcAddressesAddressBookCustomerBasicTestCase::testCustomerBasic in Ubercart Addresses 7

Same name and namespace in other branches
  1. 6.2 tests/uc_addresses.addressbook.test \UcAddressesAddressBookCustomerBasicTestCase::testCustomerBasic()

Test if a customer with no privileges is able to view, edit and delete addresses.

File

tests/uc_addresses.addressbook.test, line 177
Test cases for the address book component.

Class

UcAddressesAddressBookCustomerBasicTestCase
Test cases for the address book component.

Code

public function testCustomerBasic() {
  $customerBasic = $this
    ->drupalCreateUser();
  $this
    ->doOwnAddressTests($customerBasic, FALSE, FALSE, FALSE, FALSE);
  $this
    ->doOtherUsersAddressTests($customerBasic, FALSE, FALSE, FALSE, FALSE);
}