function JavaScriptTestCase::testDefault
Test default JavaScript is empty.
File
-
modules/
simpletest/ tests/ common.test, line 1557
Class
- JavaScriptTestCase
- Tests for the JavaScript system.
Code
function testDefault() {
$this->assertEqual(array(), drupal_add_js(), 'Default JavaScript is empty.');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.