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:
parent
af16edfedd
commit
76d3c7cdc4
1 changed files with 1 additions and 0 deletions
|
@ -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()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue