Skip to content
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.

Commit

Permalink
ZF-8809
Browse files Browse the repository at this point in the history
- Fixed issue with HttpTest not resetting Zend_Uri's static state
- Fixed BarcodeTest to use safer values and fixed the expected failure message

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@20382 44c647ce-9c0f-0410-b52a-842ac1e357ba
  • Loading branch information
ralph committed Jan 18, 2010
1 parent 2e497f6 commit 5ee0e7c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion test/HttpTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,12 @@
*/
class Zend_Uri_HttpTest extends PHPUnit_Framework_TestCase
{

public function setup()
{
Zend_Uri::setConfig(array('allow_unwise' => false));
}

/**
* Tests for proper URI decomposition
*/
Expand Down Expand Up @@ -236,7 +242,7 @@ public function testExceptionUnwiseQueryString()
'http://example.com/?q=^',
'http://example.com/?q=`',
);

foreach ($unwise as $uri) {
$this->assertFalse(Zend_Uri::check($uri), "failed for URI $uri");
}
Expand Down

0 comments on commit 5ee0e7c

Please sign in to comment.