You are here

protected function EmailTest::tearDown in Apigee Edge 8

Overrides BrowserTestBase::tearDown

File

tests/src/Functional/EmailTest.php, line 52

Class

EmailTest
Developer email already exists in Apigee Edge related tests.

Namespace

Drupal\Tests\apigee_edge\Functional

Code

protected function tearDown() {
  try {
    if ($this->developer !== NULL) {
      $this
        ->queueDeveloperResponseFromDeveloper($this->developer);
      $this->developer
        ->delete();
    }
  } catch (\Exception $exception) {
    $this
      ->logException($exception);
  }
  parent::tearDown();
}