소스 검색

Use assertInstanceOf rather than assertType

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@23847 44c647ce-9c0f-0410-b52a-842ac1e357ba
rquadling 15 년 전
부모
커밋
07f1367f22
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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);