function JavaScriptTestCase::testDefault in SimpleTest 7
Test default JavaScript is empty.
File
- tests/
common.test, line 978 - Tests for common.inc functionality.
Class
- JavaScriptTestCase
- Tests for the JavaScript system.
Code
function testDefault() {
$this
->assertEqual(array(), drupal_add_js(), t('Default JavaScript is empty.'));
}