function ImageCacheUrlTests::tearDown in ImageCache 5.2
Same name and namespace in other branches
- 6.2 tests/imagecache_create_url.test \ImageCacheUrlTests::tearDown()
SimpleTest core method: code run after each and every test method.
Overrides DrupalTestCase::tearDown
File
- tests/imagecache_create_url.test, line 65 
Class
- ImageCacheUrlTests
- Test class for testing imagecache_create_url() in several use cases with the different combinations of clean URLs and private/public download method.
Code
function tearDown() {
  // Remove input format.
  $this
    ->drupalPostRequest('admin/settings/filters/delete/' . $this->input_format_id, array(), t('Delete'));
  // Log out admin user.
  $this
    ->drupalGet('logout');
  // Always call the tearDown() function from the parent class.
  parent::tearDown();
}