From 63802a09e8b6207bb830d30ee9a9ce34eb0f01c8 Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Mon, 8 Feb 2010 20:24:17 +0000 Subject: #522786 follow-up by Berdir: Fix incorrect parameters, causing test failures. --- modules/simpletest/tests/schema.test | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/simpletest') 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. -- cgit v1.2.3