You are here

function FieldsetHelperTestCase::testFieldsetHelperStateManagerExpanded in Fieldset helper 6

Test that all fieldsets are expanded.

File

./fieldset_helper.test, line 172

Class

FieldsetHelperTestCase

Code

function testFieldsetHelperStateManagerExpanded() {
  $this
    ->setFieldsetHelperStateManagerCookie('0');
  $this->content = drupal_get_form('fieldset_helper_test_form');
  $this
    ->assertRaw('<fieldset id="fieldset-collapsible" class=" collapsible">', t('Check expanded fieldset state.'));
  $this
    ->assertRaw('<fieldset id="fieldset-collapsed" class=" collapsible">', t('Check expanded fieldset state.'));
}