You are here

function dsBaseTest::dsSelectClasses in Display Suite 7

Same name and namespace in other branches
  1. 7.2 tests/ds.base.test \dsBaseTest::dsSelectClasses()

Configure classes on a layout.

1 call to dsBaseTest::dsSelectClasses()
dsLayoutsStylesTests::testDStestLayouts in tests/ds.base.test
Test selecting layouts, empty regions, classes, region to block and fields.

File

tests/ds.base.test, line 67
Base functions and tests for Display Suite.

Class

dsBaseTest
@file Base functions and tests for Display Suite.

Code

function dsSelectClasses($edit = array(), $url = 'admin/structure/types/manage/article/display') {
  $edit += array(
    "additional_settings[header][]" => 'class_name_1',
    "additional_settings[footer][]" => 'class_name_2',
  );
  $this
    ->drupalPost($url, $edit, t('Save'));
}