You are here

function GeshiFilterAdministrationTest::tearDown in GeSHi Filter for syntax highlighting 6

SimpleTest core method: code run after each and every test method.

Optional. You only need this if you have setup tasks.

Overrides DrupalWebTestCase::tearDown

File

./geshifilter.test, line 81
Tests for the GeSHi filter module.

Class

GeshiFilterAdministrationTest
Funcional tests for the GeSHi filter administration.

Code

function tearDown() {

  // Remove input format.
  $this
    ->drupalPost('admin/settings/filters/delete/' . $this->input_format_id, array(), t('Delete'));

  // Always call the tearDown() function from the parent class.
  parent::tearDown();
}