Skip to content

Commit

Permalink
tests: fixed compatibility with nette/http
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Sep 27, 2016
1 parent 21f129c commit 95433f7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/Routers/Route.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@
use Tester\Assert;


function testRouteIn(Nette\Application\IRouter $route, $url, $expectedPresenter = NULL, $expectedParams = NULL, $expectedUrl = NULL)
function testRouteIn(Nette\Application\IRouter $route, $url, $expectedPresenter = NULL, $expectedParams = [], $expectedUrl = NULL)
{
$url = new Nette\Http\UrlScript("http://example.com$url");
$url->setScriptPath('/');
$url->appendQuery([
'test' => 'testvalue',
'presenter' => 'querypresenter',
Expand Down

0 comments on commit 95433f7

Please sign in to comment.