You are here

protected function TeamListBuilderTest::tearDown in Apigee Edge 8

Overrides BrowserTestBase::tearDown

File

modules/apigee_edge_teams/tests/src/Functional/TeamListBuilderTest.php, line 145

Class

TeamListBuilderTest
Apigee Edge Teams list builder tests.

Namespace

Drupal\Tests\apigee_edge_teams\Functional

Code

protected function tearDown() {
  try {
    $this->teamStorage
      ->delete([
      $this->teamA,
      $this->teamB,
    ]);
    $this->account
      ->delete();
    $this->aMemberAccount
      ->delete();
    $this->bMemberAccount
      ->delete();
    $this->cMemberAccount
      ->delete();
  } catch (\Error $error) {

    // Do nothing.
  } catch (\Exception $exception) {

    // Do nothing.
  }
}