]> git.mxchange.org Git - shipsimu.git/blobdiff - tests/RegistryTest.php
A lot debug messages removed, mailer with stubs added, resend link basicly finished...
[shipsimu.git] / tests / RegistryTest.php
index 4efbbb01685020234d6e8fd0df61e9972d25b302..f83c6d0dd5af7cd10e87a9018e4efe5a831d36ea 100644 (file)
@@ -27,11 +27,11 @@ print (basename(__FILE__).": Init completed.\n\n");
 /**
  * A test case for the registry
  *
- * @author             Roland Haeder <webmaster@mxchange.org>
+ * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
  * @copyright  Copyright(c) 2007, 2008 Roland Haeder, this is free software
  * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.ship-simu.org
+ * @link               http://www.ship-simu.org
  * @see                        http://www.phpunit.de
  *
  * This program is free software: you can redistribute it and/or modify
@@ -58,7 +58,7 @@ class RegistryTest extends PHPUnit_Framework_TestCase {
                $registryInstance = Registry::getRegistry();
 
                // Create a User instance
-               $userInstance = User::createUserByEmail("webmaster@mxchange.org");
+               $userInstance = User::createUserByEmail("webmaster@ship-simu.org");
 
                // Now store the instance in the registry
                $registryInstance->addInstance('user', $userInstance);
@@ -82,7 +82,7 @@ class RegistryTest extends PHPUnit_Framework_TestCase {
                $userInstance = $registryInstance->getInstance('user');
 
                // Compare both unique keys
-               $testPassed = ($userInstance instanceof ManageableUser);
+               $testPassed = ($userInstance instanceof ManageableAccount);
 
                // Test passed?
                if (!$testPassed) {