public function UcAddressesAddressBookCustomerBasicTestCase::testCustomerBasic in Ubercart Addresses 6.2
Same name and namespace in other branches
- 7 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 179 - 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);
}