diff options
Diffstat (limited to 'scripts/create-testuser.php')
-rw-r--r-- | scripts/create-testuser.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/scripts/create-testuser.php b/scripts/create-testuser.php index 4fa168b..0a74f6c 100644 --- a/scripts/create-testuser.php +++ b/scripts/create-testuser.php @@ -2,10 +2,7 @@ /** * Simply create a test user in the database with "test" as password */ -$_SERVER['HTTP_HOST'] = 'http://localhost/'; -define('UNIT_TEST_MODE', true); - -require_once dirname(__FILE__) . '/../src/SemanticScuttle/header.php'; +require_once dirname(__FILE__) . '/../src/SemanticScuttle/header-standalone.php'; $us = SemanticScuttle_Service_Factory::get('User'); $us->addUser('test', 'test', 'test@example.org'); |