JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
db_reposition(): fixed error messages
[wfpl.git] / unit_tests / db.php
index a2aeb1b..4906f1b 100644 (file)
@@ -68,7 +68,7 @@ function test_db_reposition() {
 
        foreach($args as $arg_str) {
                list($src, $dest, $space, $c1, $c2, $c3) = str_split($arg_str);
-               $ord = db_reposition($table, $before[$src], $dest);
+               $ord = db_reposition($table, $before[$src], $dest, 'ord', 'test record');
                db_update($table, 'ord', $ord, 'where id=%i', $before[$src]);
                $after = db_get_column($table, 'id', 'order by ord');
                $ords = db_get_column($table, 'ord', 'order by ord');