CascadingStylesheetsTestCase::testReset

7 common.test CascadingStylesheetsTestCase::testReset()

Makes sure that reseting the CSS empties the cache.

File

modules/simpletest/tests/common.test, line 651
Tests for common.inc functionality.

Code

function testReset() {
  drupal_static_reset('drupal_add_css');
  $this->assertEqual(array(), drupal_add_css(), t('Resetting the CSS empties the cache.'));
}
Login or register to post comments