Skip to content

Commit

Permalink
[Routing] Fixed alteration of $_SERVER
Browse files Browse the repository at this point in the history
  • Loading branch information
pborreli committed Jul 27, 2012
1 parent 3630f2d commit fad74db
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Tests/Matcher/ApacheUrlMatcherTest.php
Expand Up @@ -17,6 +17,18 @@

class ApacheUrlMatcherTest extends \PHPUnit_Framework_TestCase
{
protected $server;

protected function setUp()
{
$this->server = $_SERVER;
}

protected function tearDown()
{
$_SERVER = $this->server;
}

/**
* @dataProvider getMatchData
*/
Expand Down

0 comments on commit fad74db

Please sign in to comment.