function BpcDisplayTestCase::setDisplaySetting in Commerce Bulk Product Creation 7.2
Sets a settings value through the bpc_display settings page.
Parameters
array $settings: Array as expected by drupalPost().
3 calls to BpcDisplayTestCase::setDisplaySetting()
- BpcDisplayTestCase::testOneToOneNodeCreation in modules/
bpc_display/ bpc_display.test - Tests the automatic creation of a one display node per product.
- BpcDisplayTestCase::testSingleNodeCreation in modules/
bpc_display/ bpc_display.test - Tests the automatic creation of a single display node.
- BpcDisplayTestCase::testWizardNodeCreation in modules/
bpc_display/ bpc_display.test - Tests wizard-style display node creation.
File
- modules/
bpc_display/ bpc_display.test, line 312 - Tests for Commerce BPC display node creation
Class
- BpcDisplayTestCase
- @file Tests for Commerce BPC display node creation
Code
function setDisplaySetting($settings) {
$url = 'admin/commerce/config/commerce_bpc/display_nodes';
$this
->drupalPost($url, $settings, 'Save configuration');
}