Explorar o código

[ZF-10845] Zend_Navigation

- fixed, tests flawed after fixed ZF-6363.

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@23546 44c647ce-9c0f-0410-b52a-842ac1e357ba
ramon %!s(int64=15) %!d(string=hai) anos
pai
achega
b195cc96aa
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      tests/Zend/View/Helper/Navigation/SitemapTest.php

+ 2 - 2
tests/Zend/View/Helper/Navigation/SitemapTest.php

@@ -217,14 +217,14 @@ class Zend_View_Helper_Navigation_SitemapTest
     public function testThrowExceptionOnInvalidLoc()
     public function testThrowExceptionOnInvalidLoc()
     {
     {
         $nav = clone $this->_nav2;
         $nav = clone $this->_nav2;
-        $nav->addPage(array('label' => 'Invalid', 'uri' => 'http://w.'));
+        $nav->addPage(array('label' => 'Invalid', 'uri' => 'http://w..'));
 
 
         try {
         try {
             $this->_helper->render($nav);
             $this->_helper->render($nav);
         } catch (Zend_View_Exception $e) {
         } catch (Zend_View_Exception $e) {
             $expected = sprintf(
             $expected = sprintf(
                     'Encountered an invalid URL for Sitemap XML: "%s"',
                     'Encountered an invalid URL for Sitemap XML: "%s"',
-                    'http://w.');
+                    'http://w..');
             $actual = $e->getMessage();
             $actual = $e->getMessage();
             $this->assertEquals($expected, $actual);
             $this->assertEquals($expected, $actual);
             return;
             return;