From 08c780c3889bafadd5f58138e802d421cbd46699 Mon Sep 17 00:00:00 2001 From: Matthew Penner Date: Sun, 18 Jul 2021 11:29:39 -0600 Subject: [PATCH] tests: cleanup unneeded code --- tests/Traits/Http/RequestMockHelpers.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/Traits/Http/RequestMockHelpers.php b/tests/Traits/Http/RequestMockHelpers.php index fe21c480..897a3b25 100644 --- a/tests/Traits/Http/RequestMockHelpers.php +++ b/tests/Traits/Http/RequestMockHelpers.php @@ -71,9 +71,8 @@ trait RequestMockHelpers /** * Set the active request object to be an instance of a mocked request. */ - protected function buildRequestMock($uri = '/') + protected function buildRequestMock() { -// $this->request = Request::create($uri); $this->request = m::mock($this->requestMockClass); if (!$this->request instanceof Request) { throw new InvalidArgumentException('Request mock class must be an instance of ' . Request::class . ' when mocked.');