You are here

protected function DeveloperAppUITestTrait::gotoCreateAppForm in Apigee Edge 8

Goes to the users' create app form.

Parameters

\Drupal\user\UserInterface|null $account: The user entity.

1 call to DeveloperAppUITestTrait::gotoCreateAppForm()
DeveloperAppUITest::testAssociateApps in tests/src/Functional/DeveloperAppUITest.php
Tests the user_select checkbox on the admin form.

File

tests/src/Functional/DeveloperAppUITestTrait.php, line 73

Class

DeveloperAppUITestTrait
Contains re-usable components for developer app UI tests.

Namespace

Drupal\Tests\apigee_edge\Functional

Code

protected function gotoCreateAppForm(?UserInterface $account = NULL) {
  if ($account === NULL) {
    $account = $this->account;
  }
  $this
    ->drupalGet(Url::fromRoute('entity.developer_app.add_form_for_developer', [
    'user' => $account
      ->id(),
  ]));
}