소스 검색

[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 15 년 전
부모
커밋
b195cc96aa
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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()
     {
         $nav = clone $this->_nav2;
-        $nav->addPage(array('label' => 'Invalid', 'uri' => 'http://w.'));
+        $nav->addPage(array('label' => 'Invalid', 'uri' => 'http://w..'));
 
         try {
             $this->_helper->render($nav);
         } catch (Zend_View_Exception $e) {
             $expected = sprintf(
                     'Encountered an invalid URL for Sitemap XML: "%s"',
-                    'http://w.');
+                    'http://w..');
             $actual = $e->getMessage();
             $this->assertEquals($expected, $actual);
             return;