X-Git-Url: https://git.mxchange.org/?p=shipsimu.git;a=blobdiff_plain;f=tests%2FRegistryTest.php;h=f83c6d0dd5af7cd10e87a9018e4efe5a831d36ea;hp=4efbbb01685020234d6e8fd0df61e9972d25b302;hb=b3e47fb693fb8d40868158b0192b3392b309d97a;hpb=5c330761b4a745bd7bd490ff7585c89d0223a278 diff --git a/tests/RegistryTest.php b/tests/RegistryTest.php index 4efbbb0..f83c6d0 100644 --- a/tests/RegistryTest.php +++ b/tests/RegistryTest.php @@ -27,11 +27,11 @@ print (basename(__FILE__).": Init completed.\n\n"); /** * A test case for the registry * - * @author Roland Haeder + * @author Roland Haeder * @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) {