diff options
author | David Rothstein <drothstein@gmail.com> | 2014-11-03 00:39:48 -0500 |
---|---|---|
committer | David Rothstein <drothstein@gmail.com> | 2014-11-03 00:39:48 -0500 |
commit | 62e874b348fe64490952a12f419164e26ea98d21 (patch) | |
tree | 1832d4d5e6c6077c54813a1dc31d400f8f80758a /modules/simpletest/tests/ajax.test | |
parent | 0c8dc6ea062cd7595a7b6fbd02fb0f0294ccecef (diff) | |
download | brdo-62e874b348fe64490952a12f419164e26ea98d21.tar.gz brdo-62e874b348fe64490952a12f419164e26ea98d21.tar.bz2 |
Issue #1071818 by JeremyFrench, nod_, Cottser, gielfeldt, xjm, anthbel, reglogge, NROTC_Webmaster, kristofferwiklund, lliss, sun | sepgil: Fixed Lazy-loading CSS fails in IE.
Diffstat (limited to 'modules/simpletest/tests/ajax.test')
-rw-r--r-- | modules/simpletest/tests/ajax.test | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/simpletest/tests/ajax.test b/modules/simpletest/tests/ajax.test index a0c7be8a2..c38a325fb 100644 --- a/modules/simpletest/tests/ajax.test +++ b/modules/simpletest/tests/ajax.test @@ -368,6 +368,14 @@ class AJAXCommandsTestCase extends AJAXTestCase { 'settings' => array('ajax_forms_test' => array('foo' => 42)), ); $this->assertCommand($commands, $expected, "'settings' AJAX command issued with correct data"); + + // Tests the 'add_css' command. + $commands = $this->drupalPostAJAX($form_path, $edit, array('op' => t("AJAX 'add_css' command"))); + $expected = array( + 'command' => 'add_css', + 'data' => 'my/file.css', + ); + $this->assertCommand($commands, $expected, "'add_css' AJAX command issued with correct data"); } } |