diff options
Diffstat (limited to 'scripts/create-testuser.php')
-rw-r--r-- | scripts/create-testuser.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/create-testuser.php b/scripts/create-testuser.php new file mode 100644 index 0000000..0a74f6c --- /dev/null +++ b/scripts/create-testuser.php @@ -0,0 +1,10 @@ +<?php +/** + * Simply create a test user in the database with "test" as password + */ +require_once dirname(__FILE__) . '/../src/SemanticScuttle/header-standalone.php'; + +$us = SemanticScuttle_Service_Factory::get('User'); +$us->addUser('test', 'test', 'test@example.org'); +$us->addUser('admin', 'admin', 'admin@example.org'); +?>
\ No newline at end of file |