Parcourir la source

Removing the test as aggreed in #153

Martin Hujer il y a 12 ans
Parent
commit
a233467fd8
1 fichiers modifiés avec 0 ajouts et 24 suppressions
  1. 0 24
      tests/Zend/Navigation/PageFactoryTest.php

+ 0 - 24
tests/Zend/Navigation/PageFactoryTest.php

@@ -180,28 +180,4 @@ class Zend_Navigation_PageFactoryTest extends PHPUnit_Framework_TestCase
             );
         }
     }
-
-    /**
-     * @group ZF-10048
-     */
-    public function testMvcShouldFailIfOptionsContainsUriAndMvcProperties()
-    {
-        try {
-            $page = Zend_Navigation_Page::factory(array(
-                'label'      => 'MVC Page',
-                'action'     => 'index',
-                'controller' => 'index',
-                'uri'        => '#'
-            ));
-            $this->fail(
-                'An exception has not been thrown for invalid properties'
-            );
-        } catch(Zend_Navigation_Exception $e) {
-            $this->assertEquals(
-                'Invalid argument: Unable to determine class to instantiate '
-                . '(Page label: MVC Page)',
-                $e->getMessage()
-            );
-        }
-    }
 }