Skip to content

Commit bf41d4e

Browse files
committed
Merge pull request #12412 from rafis/test-make-request-patch
[5.1] Fix current URI used by Crawler in tests
2 parents 6e08e83 + 8964f37 commit bf41d4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Foundation/Testing/InteractsWithPages.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ protected function makeRequest($method, $uri, $parameters = [], $cookies = [], $
6464

6565
$this->currentUri = $this->app->make('request')->fullUrl();
6666

67-
$this->crawler = new Crawler($this->response->getContent(), $uri);
67+
$this->crawler = new Crawler($this->response->getContent(), $this->currentUri);
6868

6969
return $this;
7070
}

0 commit comments

Comments
 (0)