Преглед изворни кода

ZF-11329
Fixed tests to use phpunit 3.4 assertType() instead of phpunit 3.5 assertInstanceOf() and assertInternalType()


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

ralph пре 14 година
родитељ
комит
255362debd
1 измењених фајлова са 3 додато и 3 уклоњено
  1. 3 3
      tests/Zend/Config/YamlTest.php

+ 3 - 3
tests/Zend/Config/YamlTest.php

@@ -323,9 +323,9 @@ class Zend_Config_YamlTest extends PHPUnit_Framework_TestCase
     public function testAllowsInlineCommentsInValuesUsingHash()
     {
         $config = new Zend_Config_Yaml($this->_yamlInlineCommentsConfig, null);
-        $this->assertInstanceOf('Zend_Config', $config->resources);
-        $this->assertInstanceOf('Zend_Config', $config->resources->frontController);
-        $this->assertInternalType(
+        $this->assertType('Zend_Config', $config->resources);
+        $this->assertType('Zend_Config', $config->resources->frontController);
+        $this->assertType(
             'string', 
             $config->resources->frontController->controllerDirectory
         );