Makes sure that resetting the CSS empties the cache.
File
- drupal/core/modules/system/lib/Drupal/system/Tests/Common/CascadingStylesheetsTest.php, line 87
- Definition of Drupal\system\Tests\Common\CascadingStylesheetsTest.
Class
- CascadingStylesheetsTest
- Tests the Drupal CSS system.
Namespace
Drupal\system\Tests\Common
Code
function testReset() {
drupal_static_reset('drupal_add_css');
$this
->assertEqual(array(), drupal_add_css(), 'Resetting the CSS empties the cache.');
}