You are here

function MerciTestCase::merciCreateConfig in MERCI (Manage Equipment Reservations, Checkout and Inventory) 6.2

Same name and namespace in other branches
  1. 7.2 tests/merci_testcase.php \MerciTestCase::merciCreateConfig()
2 calls to MerciTestCase::merciCreateConfig()
MerciTestCase::setUp in tests/merci_testcase.php
Generates a random database prefix, runs the install scripts on the prefixed database and enable the specified modules. After installation many caches are flushed and the internal browser is setup so that the page requests will run on the new prefix.…
MerciUserTestCase::testMerciHoursOfOperation in tests/merci_user.test

File

tests/merci_testcase.php, line 123
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/settings/merci', $settings, t('Save configuration'));
  $this
    ->assertText(t("The configuration options have been saved."));
}