Mensaje de error

Warning: count(): Parameter must be an array or an object that implements Countable en _api_make_match_member_link() (línea 1230 de /home/u295177857/domains/app01.inkastattoonewjersey.com/public_html/profiles/drupalapi/modules/contrib/api/api.formatting.inc).

function SimpleTestBrokenSetUp::tearDown

Delete created files and temporary files directory, delete the tables created by setUp(), and reset the database prefix.

Overrides DrupalWebTestCase::tearDown

Archivo

drupal-7.x/modules/simpletest/simpletest.test, line 537
Tests for simpletest.module.

Class

SimpleTestBrokenSetUp
Tests a test case that does not run parent::setUp() in its setUp() method.

Código

function tearDown() {
  // If the test is being run from the main site, tear down normally.
  if (!drupal_valid_test_ua()) {
    parent::tearDown();
  }
  else {
    // If the test is being run from within simpletest, output a message.
    $this->pass(t('The tearDown() method has run.'));
  }
}