You are here

function dsBaseTest::dsEditFormatterSettings in Display Suite 7.2

Edit field formatter settings

2 calls to dsBaseTest::dsEditFormatterSettings()
dsNodeTests::entitiesSetLabelClass in tests/ds.entities.test
Set the label.
dsNodeTests::testDSFieldTemplate in tests/ds.entities.test
Tests on field templates.

File

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

Class

dsBaseTest
@file Base functions and tests for Display Suite.

Code

function dsEditFormatterSettings($edit, $url = 'admin/structure/types/manage/article/display', $element_value = 'edit body') {
  $this
    ->drupalPost($url, array(), $element_value);
  $this
    ->drupalPost(NULL, $edit, t('Update'));
  $this
    ->drupalPost(NULL, array(), t('Save'));
}