Explorar o código

[TESTS]: fix error in Zend_Uri_HttpTest since expected invalid hostname is valid with RFC3986

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@24324 44c647ce-9c0f-0410-b52a-842ac1e357ba
mikaelkael %!s(int64=14) %!d(string=hai) anos
pai
achega
e1be93c128
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      tests/Zend/Uri/HttpTest.php

+ 2 - 2
tests/Zend/Uri/HttpTest.php

@@ -380,7 +380,7 @@ class Zend_Uri_HttpTest extends PHPUnit_Framework_TestCase
     public function testSetInvalidHost()
     {
         $uri = Zend_Uri::factory('http://example.com');
-        $host = 'example,com';
+        $host = 'example§com';
         $this->setExpectedException('Zend_Uri_Exception');
         $uri->setHost($host);
     }
@@ -430,7 +430,7 @@ class Zend_Uri_HttpTest extends PHPUnit_Framework_TestCase
         ), $uri->getQueryAsArray());
         $this->assertEquals('a=1&c=3', $uri->getQuery());
     }
-    
+
     /**
      * @group ZF-11188
      * @see http://www.ietf.org/rfc/rfc2732.txt