=== modified file 'modules/simpletest/tests/common.test' --- modules/simpletest/tests/common.test 2010-01-07 07:45:03 +0000 +++ modules/simpletest/tests/common.test 2010-01-07 13:37:05 +0000 @@ -494,6 +494,11 @@ class DrupalTagsHandlingTestCase extends * Test the Drupal CSS system. */ class CascadingStylesheetsTestCase extends DrupalWebTestCase { + /** + * Store configured value for CSS preprocessing. + */ + protected $preprocess_css = NULL; + public static function getInfo() { return array( 'name' => 'Cascading stylesheets', @@ -504,9 +509,19 @@ class CascadingStylesheetsTestCase exten function setUp() { parent::setUp('php', 'locale'); + // Ensure CSS preprocessing is disabled. + $this->preprocess_js = variable_get('preprocess_css', 0); + variable_set('preprocess_css', 0); + // Reset drupal_add_css() before each test. drupal_static_reset('drupal_add_css'); } + + function tearDown() { + // Restore configured value for CSS preprocessing. + variable_set('preprocess_css', $this->preprocess_css); + parent::tearDown(); + } /** * Check default stylesheets as empty. === modified file 'profiles/standard/standard.install' --- profiles/standard/standard.install 2010-01-04 23:08:34 +0000 +++ profiles/standard/standard.install 2010-01-07 13:20:21 +0000 @@ -411,4 +411,7 @@ function standard_install() { ->execute(); variable_set('admin_theme', 'seven'); variable_set('node_admin_theme', '1'); + + // Enable CSS Preprocessing + variable_set('preprocess_css', 1); }