Remove old ApacheRequestHeadersTest
This commit is contained in:
parent
f3e5cddf4a
commit
64e5786537
|
|
@ -1,25 +0,0 @@
|
|||
<?php
|
||||
|
||||
// This file must be in the global namespace to add apache_request_headers
|
||||
|
||||
use pjdietz\WellRESTed\Request;
|
||||
|
||||
class ApacheRequestHeadersTest extends \PHPUnit_Framework_TestCase
|
||||
{
|
||||
/**
|
||||
* @covers pjdietz\WellRESTed\Request::getRequestHeaders
|
||||
* @runInSeparateProcess
|
||||
* @preserveGlobalState disabled
|
||||
*/
|
||||
public function testReadsApacheRequestHeaders()
|
||||
{
|
||||
if (!function_exists('apache_request_headers')) {
|
||||
function apache_request_headers() {
|
||||
return array();
|
||||
}
|
||||
}
|
||||
|
||||
$headers = Request::getRequestHeaders();
|
||||
$this->assertNotNull($headers);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue