You are here

function CascadingStylesheetsTestCase::testReset in SimpleTest 7

Makes sure that reseting the CSS empties the cache.

File

tests/common.test, line 499
Tests for common.inc functionality.

Class

CascadingStylesheetsTestCase
Test the Drupal CSS system.

Code

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