You are here

protected function DeveloperAppPermissionTest::tearDown in Apigee Edge 8

Overrides BrowserTestBase::tearDown

File

tests/src/Functional/DeveloperAppPermissionTest.php, line 168

Class

DeveloperAppPermissionTest
Developer app entity permission test.

Namespace

Drupal\Tests\apigee_edge\Functional

Code

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