Browse Source

Use assertInstanceOf rather than assertType

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@23847 44c647ce-9c0f-0410-b52a-842ac1e357ba
rquadling 15 years ago
parent
commit
07f1367f22
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/Zend/LoaderTest.php

+ 1 - 1
tests/Zend/LoaderTest.php

@@ -361,7 +361,7 @@ class Zend_LoaderTest extends PHPUnit_Framework_TestCase
             'Expected Zend_Loader_AutoloadableClass to be loaded');
 
         // and we verify it is the correct type
-        $this->assertType('Zend_Loader_AutoloadableClass', $obj,
+        $this->assertInstanceOf('Zend_Loader_AutoloadableClass', $obj,
             'Expected to instantiate Zend_Loader_AutoloadableClass, got '.get_class($obj));
 
         spl_autoload_unregister($function);