X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=unit_tests%2Fdb.php;fp=unit_tests%2Fdb.php;h=4906f1b827f6f90e5d62b7b1ecbf1fa42e2fc5a3;hb=b06120b7272f31b715fdec90f12e1a02956cdca2;hp=a2aeb1b1f06c1655b78bb16ff67fe4ddc276fc16;hpb=6e641341473c1e4ddb306bdf44730bc7d307f975;p=wfpl.git diff --git a/unit_tests/db.php b/unit_tests/db.php index a2aeb1b..4906f1b 100644 --- a/unit_tests/db.php +++ b/unit_tests/db.php @@ -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');