]> git.mxchange.org Git - shipsimu.git/blobdiff - tests/RegistryTest.php
More files found which have been updated
[shipsimu.git] / tests / RegistryTest.php
index 4efbbb01685020234d6e8fd0df61e9972d25b302..4e8bafe0262619d34e296eb5bfe98fb722778ac2 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
+ * @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) {