Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 11aaecb

Browse files
committed
Merge pull request laravel#2747 from sumardi/fix/route-in-testcase
[4.1] Fixes route in test case.
2 parents 596e34d + 246de97 commit 11aaecb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Illuminate/Foundation/Testing/TestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public function action($method, $action, $wildcards = array(), $parameters = arr
132132
*/
133133
public function route($method, $name, $routeParameters = array(), $parameters = array(), $files = array(), $server = array(), $content = null, $changeHistory = true)
134134
{
135-
$uri = $this->app['url']->route($name, $routeParameters, true);
135+
$uri = $this->app['url']->route($name, $routeParameters);
136136

137137
return $this->call($method, $uri, $parameters, $files, $server, $content, $changeHistory);
138138
}

0 commit comments

Comments
 (0)