First Local Commit - After Clean up.
Signed-off-by: Rick Hays <rhays@haysgang.com>
This commit is contained in:
17
tests/_support/HTTP/MockIncomingRequest.php
Normal file
17
tests/_support/HTTP/MockIncomingRequest.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php namespace Tests\Support\HTTP;
|
||||
|
||||
use CodeIgniter\HTTP\IncomingRequest;
|
||||
|
||||
class MockIncomingRequest extends IncomingRequest
|
||||
{
|
||||
// public function populateHeaders()
|
||||
// {
|
||||
// // Don't do anything... force the tester to manually set the headers they want.
|
||||
// }
|
||||
|
||||
public function detectURI($protocol, $baseURL)
|
||||
{
|
||||
// Do nothing...
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user