Skip to content

Commit

Permalink
Remove commands that affect superglobals from test
Browse files Browse the repository at this point in the history
  • Loading branch information
Gavin Davies committed May 28, 2014
1 parent 10a4b5e commit e93cd52
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tests/cases/extensions/command/QualityTest.php
Expand Up @@ -21,8 +21,6 @@ class QualityTest extends \li3_quality\test\Unit {

public function setUp() {
$this->_backup['cwd'] = getcwd();
$this->_backup['_SERVER'] = $_SERVER;
$_SERVER['argv'] = array();
}

public function tearDown() {
Expand All @@ -31,7 +29,6 @@ public function tearDown() {
$class = $this->_classes[$type];
$class::reset();
}
$_SERVER = $this->_backup['_SERVER'];
chdir($this->_backup['cwd']);
}

Expand Down

0 comments on commit e93cd52

Please sign in to comment.