summaryrefslogtreecommitdiff
path: root/modules/simpletest/tests
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-02-08 20:24:17 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-02-08 20:24:17 +0000
commit63802a09e8b6207bb830d30ee9a9ce34eb0f01c8 (patch)
treed89ff81e88dbe797ab301af801b70e7d233937f1 /modules/simpletest/tests
parent3f115334f63a88c580bfb0997d6663e1a5801d8e (diff)
downloadbrdo-63802a09e8b6207bb830d30ee9a9ce34eb0f01c8.tar.gz
brdo-63802a09e8b6207bb830d30ee9a9ce34eb0f01c8.tar.bz2
#522786 follow-up by Berdir: Fix incorrect parameters, causing test failures.
Diffstat (limited to 'modules/simpletest/tests')
-rw-r--r--modules/simpletest/tests/schema.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/simpletest/tests/schema.test b/modules/simpletest/tests/schema.test
index 4045ff825..1cf48e933 100644
--- a/modules/simpletest/tests/schema.test
+++ b/modules/simpletest/tests/schema.test
@@ -151,7 +151,7 @@ class SchemaTestCase extends DrupalWebTestCase {
'primary key' => array('serial_column'),
);
$ret = array();
- db_create_table($ret, $table_name, $table_spec);
+ db_create_table($table_name, $table_spec);
// Now set up columns for the other types.
$types = array('int', 'float', 'numeric');
@@ -162,7 +162,7 @@ class SchemaTestCase extends DrupalWebTestCase {
}
$column_name = $type . '_column';
$table_spec['fields'][$column_name] = $column_spec;
- db_add_field($ret, $table_name, $column_name, $column_spec);
+ db_add_field($table_name, $column_name, $column_spec);
}
// Finally, check each column and try to insert invalid values into them.