// Enable both filters in format id 1 (default format)
$edit = array(
- 'filters[filter_time][status]' => 1,
- 'filters[filter_foo][status]' => 1,
+ 'filters[filter_time][status]' => TRUE,
+ 'filters[filter_foo][status]' => TRUE,
);
$this->drupalPost('admin/config/content/formats/' . $this->filtered_html->format, $edit, t('Save configuration'));
// Enable foo filter in other format id 2
$edit = array(
- 'filters[filter_foo][status]' => 1,
+ 'filters[filter_foo][status]' => TRUE,
);
$this->drupalPost('admin/config/content/formats/' . $this->full_html->format, $edit, t('Save configuration'));
*/
function testXmlrpcExampleAlter() {
// Enable XML-RPC service altering functionality.
- $options = array('xmlrpc_example_alter_enabled' => 1);
+ $options = array('xmlrpc_example_alter_enabled' => TRUE);
$this->drupalPost('examples/xmlrpc/alter', $options, t('Save configuration'));
$this->assertText(t('The configuration options have been saved'), t('Results are not limited due to methods alteration'));