[Fusionforge-commits] r12992 - trunk/tests/func

Alain Peyrat aljeux at fusionforge.org
Sat Apr 2 12:46:59 CEST 2011


Author: aljeux
Date: 2011-04-02 12:46:58 +0200 (Sat, 02 Apr 2011)
New Revision: 12992

Modified:
   trunk/tests/func/db_reload.php
Log:
Share same change with 5.1 branch

Modified: trunk/tests/func/db_reload.php
===================================================================
--- trunk/tests/func/db_reload.php	2011-04-02 10:41:43 UTC (rev 12991)
+++ trunk/tests/func/db_reload.php	2011-04-02 10:46:58 UTC (rev 12992)
@@ -88,7 +88,6 @@
 system("psql -q -U".DB_USER." ".DB_NAME." -f $forge_root/db/gforge.sql >> /var/log/fusionforge-init.log 2>&1");
 system("php $forge_root/db/upgrade-db.php >> /var/log/gforge-upgrade-db.log 2>&1");
 
-$sitename='TestForge';
 $adminPassword = 'myadmin';
 $adminEmail = 'nobody at nowhere.com';
 
@@ -108,7 +107,7 @@
 // Create the initial admin account and activate it directly.
 //
 $user = new GFUser();
-$user_id = $user->create('admin', $sitename, 'Admin', $adminPassword, $adminPassword,
+$user_id = $user->create('admin', 'Forge', 'Admin', $adminPassword, $adminPassword,
 	$adminEmail, 1, 1, 1,'GMT','',0,1,'', '','','','','','US',false);
 
 if (!$user_id) {




More information about the Fusionforge-commits mailing list