Skip to content

Commit

Permalink
Merge pull request #1 from codeigniter4/develop
Browse files Browse the repository at this point in the history
Update repo
  • Loading branch information
atishhamte authored Mar 1, 2019
2 parents 2cb40bf + 1da8157 commit 4a5c741
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion system/Test/ControllerTester.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
*/

use CodeIgniter\HTTP\IncomingRequest;
use CodeIgniter\HTTP\UserAgent;
use CodeIgniter\HTTP\Response;
use CodeIgniter\HTTP\URI;
use Config\App;
Expand Down Expand Up @@ -90,7 +91,7 @@ public function controller(string $name)

if (empty($this->request))
{
$this->request = new IncomingRequest($this->appConfig, $this->uri, $this->body);
$this->request = new IncomingRequest($this->appConfig, $this->uri, $this->body, new UserAgent());
}

if (empty($this->response))
Expand Down

0 comments on commit 4a5c741

Please sign in to comment.