diff --git a/modules/simpletest/tests/common.test b/modules/simpletest/tests/common.test index 962ad4e..2539837 100644 --- a/modules/simpletest/tests/common.test +++ b/modules/simpletest/tests/common.test @@ -1753,25 +1753,85 @@ class JavaScriptTestCase extends DrupalWebTestCase { /** * Tests adding JavaScript files with additional attributes. */ - function testAttributes() { + public function testAttributes() { + // Disable aggregation. + variable_set('preprocess_js', 0); // Add internal and external JavaScript files that add the 'async' and // 'defer' attributes, and check that these attributes appear on the //