Unit test for query_parameters(), fix bugs in query_parameters() found by the unit test
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user