2
0
Просмотр исходного кода

Gave test for ZF-7461 a more descriptive name (it now actually says what it does :D )

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@18360 44c647ce-9c0f-0410-b52a-842ac1e357ba
freak 16 лет назад
Родитель
Сommit
9fd33d793a
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      tests/Zend/Application/Resource/NavigationTest.php

+ 3 - 3
tests/Zend/Application/Resource/NavigationTest.php

@@ -157,9 +157,9 @@ class Zend_Application_Resource_NavigationTest extends PHPUnit_Framework_TestCas
     /**
      * @group ZF-7461
      */
-    public function testCorrectRegistryKeyIsUsedWhenNumeric()
+    public function testRegistryIsUsedWhenNumericRegistryValueIsGiven()
     {
-    	// Register view for cases where registry should not be used
+    	// Register view for cases where registry should/is not (be) used
     	$this->bootstrap->registerPluginResource('view');
     	$this->bootstrap->getPluginResource('view')->getView(); 
     	
@@ -169,7 +169,7 @@ class Zend_Application_Resource_NavigationTest extends PHPUnit_Framework_TestCas
             'controller' => 'index'))), 
            'storage' => array('registry' => true));
     	$options = array($options1, 
-    	                 array_merge($options1, array('storage' => array('registry' => '1'))),
+    	                 array_merge($options1, array('storage' => array('registry' => '1'))), // Original culprit here
     	                 array_merge($options1, array('storage' => array('registry' => 1))),
     	                 array_merge($options1, array('storage' => array('registry' => false))));