You are here

function FbconnectTestCase::tearDown in Facebook Connect 6.2

Same name and namespace in other branches
  1. 8.2 tests/fbconnect.test \FbconnectTestCase::tearDown()
  2. 7.2 tests/fbconnect.test \FbconnectTestCase::tearDown()

@todo.

Overrides DrupalWebTestCase::tearDown

File

tests/fbconnect.test, line 69

Class

FbconnectTestCase
@file

Code

function tearDown() {
  parent::tearDown();
  fbconnect_facebook_client()
    ->setSession(NULL, FALSE);
  foreach ($this->fb_users as $fb_user) {
    $this
      ->assertEqual(fbconnect_graph_query('/' . $fb_user['id'], 'DELETE'), '1', 'deleted test FB user', 'FBConnect');
  }
  $this->fb_users = array();
}