summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--filter_example/filter_example.test6
-rw-r--r--xmlrpc_example/xmlrpc_example.test2
2 files changed, 4 insertions, 4 deletions
diff --git a/filter_example/filter_example.test b/filter_example/filter_example.test
index 0768601..aba2333 100644
--- a/filter_example/filter_example.test
+++ b/filter_example/filter_example.test
@@ -49,8 +49,8 @@ class FilterExampleTestCase extends DrupalWebTestCase {
// 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'));
@@ -70,7 +70,7 @@ class FilterExampleTestCase extends DrupalWebTestCase {
// 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'));
diff --git a/xmlrpc_example/xmlrpc_example.test b/xmlrpc_example/xmlrpc_example.test
index 6f278a0..de09083 100644
--- a/xmlrpc_example/xmlrpc_example.test
+++ b/xmlrpc_example/xmlrpc_example.test
@@ -109,7 +109,7 @@ class XmlrpcExampleTestCase extends DrupalWebTestCase {
*/
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'));