Skip to content
This repository has been archived by the owner on Feb 17, 2020. It is now read-only.

Commit

Permalink
- Fixing test for nette 2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
akadlec committed Dec 10, 2016
1 parent 6936722 commit afdd58c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/IPubTests/Application/RedirectTest.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ class RedirectTest extends Tester\TestCase
$response = $presenter->run($request);

Assert::true($response instanceof Nette\Application\Responses\RedirectResponse);
Assert::equal('http://ipublikuj.eu/end/show', $response->getUrl());
Assert::equal('http:///end/show', $response->getUrl());
}

public function testPresenterForward()
Expand Down
2 changes: 1 addition & 1 deletion tests/IPubTests/Application/libs/RouterFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class RouterFactory
public static function createRouter()
{
$router = new Routers\RouteList();
$router[] = new Routers\Route('http://ipublikuj.eu/<presenter>/<action>[/<id>]', 'Test:default');
$router[] = new Routers\Route('<presenter>/<action>[/<id>]', 'Test:default');

return $router;
}
Expand Down

0 comments on commit afdd58c

Please sign in to comment.