function MerciTestCase::merciCreateConfig in MERCI (Manage Equipment Reservations, Checkout and Inventory) 7.2
Same name and namespace in other branches
- 6.2 tests/merci_testcase.php \MerciTestCase::merciCreateConfig()
2 calls to MerciTestCase::merciCreateConfig()
- MerciTestCase::setUp in tests/
merci_testcase.php - Sets up a Drupal site for running functional and integration tests.
- MerciUserTestCase::testMerciHoursOfOperation in tests/
merci_user.test
File
- tests/
merci_testcase.php, line 130 - Simpletest case for node_example module.
Class
- MerciTestCase
- Functionality tests for merci module. General setup and functions all merci tests should inherit.
Code
function merciCreateConfig($settings) {
$this
->drupalPost('admin/config/system/merci', $settings, t('Save configuration'));
$this
->assertText(t("The configuration options have been saved."));
}