Unit test for query_parameters(), fix bugs in query_parameters() found by the unit test

This commit is contained in:
Chris Morgan
2006-06-27 16:39:40 +00:00
committed by WineHQ
parent 1932248293
commit f3c64ff48f
5 changed files with 145 additions and 6 deletions

View File

@@ -3,6 +3,7 @@
/* unit tests for user class */
require_once("path.php");
require_once("test_common.php");
require_once(BASE."include/incl.php");
require_once(BASE."include/user.php");
@@ -11,11 +12,6 @@ require_once(BASE."include/user.php");
$test_email = "testemail@somesite.com";
$test_password = "password";
function test_start($sFunctionName)
{
echo $sFunctionName."() starting\n";
}
/* NOTE: test_user_login() relies on this function leaving the test user */
/* in the database */
function test_user_create()