From 8f0f35a07cd841e12603f5f61144c69c0aa4bf7e Mon Sep 17 00:00:00 2001 From: michael Date: Thu, 3 Apr 2003 12:43:38 +0000 Subject: [PATCH] moved into test directory --- tests/administration/userCreate.php | 15 +++++++++++++++ userCreate.php | 15 --------------- 2 files changed, 15 insertions(+), 15 deletions(-) create mode 100644 tests/administration/userCreate.php delete mode 100644 userCreate.php diff --git a/tests/administration/userCreate.php b/tests/administration/userCreate.php new file mode 100644 index 0000000..1fbe813 --- /dev/null +++ b/tests/administration/userCreate.php @@ -0,0 +1,15 @@ +"; + $sql = $default->db; + $sql->query("INSERT INTO users (username, name, password, quota_max, quota_current, email, mobile, email_notification, sms_notification, ldap_dn, max_sessions, language_id) " . + "VALUES ('admin" . $i . "', 'Administrator', '21232f297a57a5a743894a0e4a801fc3', 0, 0, '', '', 1, 1, '', 10000, 1)"); + $sql->query("INSERT INTO users_groups_link (group_id, user_id) SELECT 1, ID FROM users where username = 'admin" . $i . "'"); +} + + +?> diff --git a/userCreate.php b/userCreate.php deleted file mode 100644 index 1fbe813..0000000 --- a/userCreate.php +++ /dev/null @@ -1,15 +0,0 @@ -"; - $sql = $default->db; - $sql->query("INSERT INTO users (username, name, password, quota_max, quota_current, email, mobile, email_notification, sms_notification, ldap_dn, max_sessions, language_id) " . - "VALUES ('admin" . $i . "', 'Administrator', '21232f297a57a5a743894a0e4a801fc3', 0, 0, '', '', 1, 1, '', 10000, 1)"); - $sql->query("INSERT INTO users_groups_link (group_id, user_id) SELECT 1, ID FROM users where username = 'admin" . $i . "'"); -} - - -?> -- libgit2 0.21.4