You are here

public function CommerceCheckoutLoginUserRegisterTest::testExistingUsernameIsDenied in Commerce Checkout Login 7.2

File

tests/CommerceCheckoutLoginUserRegisterTest.test, line 49

Class

CommerceCheckoutLoginUserRegisterTest
Checkout register test class.

Code

public function testExistingUsernameIsDenied() {
  $this
    ->submitRegisterForm($this->storeCustomerAccount->name, $this
    ->generateEmail());
  $this
    ->assertUsernameTakenMessageIsDisplayed($this->storeCustomerAccount->name);
}