Fixed glitch causing a lack of coverage

The Session class relies on the REQUEST_METHOD being set, else it won't start
up. Added the value and the coverage jumped to 100%
This commit is contained in:
Joshua Sherman 2014-01-17 13:36:08 -05:00
parent af16edfedd
commit 76d3c7cdc4

View file

@ -10,6 +10,7 @@ class SessionTest extends PHPUnit_Framework_TestCase
} }
$_SERVER['HTTP_USER_AGENT'] = 'yes'; $_SERVER['HTTP_USER_AGENT'] = 'yes';
$_SERVER['REQUEST_METHOD'] = 'GET';
} }
public function testFiles() public function testFiles()