Skip to content

Commit 8964f37

Browse files
committed
Fix current URI used by Crawler in tests
1 parent 8b7c580 commit 8964f37

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)