protected function DeveloperTest::setUp in Apigee Edge 8
Overrides ApigeeEdgeFunctionalTestBase::setUp
File
- tests/
src/ Functional/ DeveloperTest.php, line 97
Class
- DeveloperTest
- Create, delete, update developer entity tests.
Namespace
Drupal\Tests\apigee_edge\FunctionalCode
protected function setUp() {
parent::setUp();
// Allow visitor account creation with administrative approval.
$user_settings = $this
->config('user.settings');
$user_settings
->set('register', UserInterface::REGISTER_VISITORS_ADMINISTRATIVE_APPROVAL)
->save(TRUE);
$this->developerStorage = $this->container
->get('entity_type.manager')
->getStorage('developer');
$this->sdkConnector = $this->container
->get('apigee_edge.sdk_connector');
}