2009-10-31 11:15:32 +01:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Simply create a test user in the database with "test" as password
|
|
|
|
*/
|
2010-01-19 23:58:19 +01:00
|
|
|
require_once dirname(__FILE__) . '/../src/SemanticScuttle/header-standalone.php';
|
2009-10-31 11:15:32 +01:00
|
|
|
|
|
|
|
$us = SemanticScuttle_Service_Factory::get('User');
|
|
|
|
$us->addUser('test', 'test', 'test@example.org');
|
2009-11-26 09:18:11 +01:00
|
|
|
$us->addUser('admin', 'admin', 'admin@example.org');
|
2009-10-31 11:15:32 +01:00
|
|
|
?>
|