Browse Source

TESTS
Reverting r23847 from trunk
(Zend's tests for version 1.x must remain compatible with phpunit 3.4)


git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@24001 44c647ce-9c0f-0410-b52a-842ac1e357ba

ralph 14 years ago
parent
commit
2964a30671
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->assertInstanceOf('Zend_Loader_AutoloadableClass', $obj,
+        $this->assertType('Zend_Loader_AutoloadableClass', $obj,
             'Expected to instantiate Zend_Loader_AutoloadableClass, got '.get_class($obj));
 
         spl_autoload_unregister($function);