protected function ErrorHandlerTest::setUp in Apigee Edge 8
Overrides ApigeeEdgeFunctionalTestBase::setUp
File
- tests/
src/ Functional/ ErrorHandlerTest.php, line 54
Class
- ErrorHandlerTest
- Apigee Edge API connection error page tests.
Namespace
Drupal\Tests\apigee_edge\FunctionalCode
protected function setUp() {
parent::setUp();
$this->prefix = $this
->randomMachineName();
// Disable Apigee Edge connection.
$this
->invalidateKey();
// It is not necessary to create a developer here so skip
// apigee_edge_user_presave().
$this
->disableUserPresave();
$this->drupalUser = $this
->createAccount([], TRUE, $this->prefix);
$this->drupalUser
->save();
$this
->enableUserPresave();
}