function QuoteTest::quoteConfigure in Quote 7
Modify the quote module's configuration form.
Parameters
Boolean $enabled: Indicates if the quote node type is to be associated with the module.
Boolean $nodeQuoteLink: Indicates if the quote link is to be displayed for nodes.
2 calls to QuoteTest::quoteConfigure()
- QuoteTest::setUp in tests/
quote.test - Sets up a Drupal site for running functional and integration tests.
- QuoteTest::testNodeLink in tests/
quote.test - Test the quote link feature.
File
- tests/
quote.test, line 52 - Test the Quote filter.
Class
- QuoteTest
- @file Test the Quote filter.
Code
function quoteConfigure($enabled = TRUE, $nodeQuoteLink = TRUE) {
$edit = array(
'quote[node_types][quote]' => $enabled,
'quote[node_link_display]' => $nodeQuoteLink,
);
$this
->drupalPost('admin/config/content/quote', $edit, t('Save configuration'));
}