protected function EntityListBuilderTest::tearDown in Apigee Edge 8
Overrides KernelTestBase::tearDown
File
- tests/
src/ Kernel/ Entity/ ListBuilder/ EntityListBuilderTest.php, line 108
Class
- EntityListBuilderTest
- Tests for EntityListBuilder.
Namespace
Drupal\Tests\apigee_edge\Kernel\Entity\ListBuilderCode
protected function tearDown() {
$this->stack
->reset();
try {
if ($this->account) {
$this
->queueDeveloperResponse($this->account);
$developer = \Drupal::entityTypeManager()
->getStorage('developer')
->create([
'email' => $this->account
->getEmail(),
]);
$developer
->delete();
}
if ($this->app) {
$this->app
->delete();
}
} catch (\Exception $exception) {
$this
->logException($exception);
}
parent::tearDown();
}