summaryrefslogtreecommitdiff
path: root/scripts/create-testbookmarks.php
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/create-testbookmarks.php')
-rw-r--r--scripts/create-testbookmarks.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/scripts/create-testbookmarks.php b/scripts/create-testbookmarks.php
index d92a007..cbacb85 100644
--- a/scripts/create-testbookmarks.php
+++ b/scripts/create-testbookmarks.php
@@ -2,10 +2,7 @@
/**
* Simply create some test bookmarks
*/
-$_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');
$uid = $us->addUser('dummy', 'dummy', 'dummy@example.org');