Skip to content
This repository has been archived by the owner on Aug 20, 2018. It is now read-only.

Commit

Permalink
TPresenter: add tests for regular expression path check
Browse files Browse the repository at this point in the history
  • Loading branch information
mrtnzlml committed May 12, 2016
1 parent 6a440ce commit e871d18
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/Traits/TPresenterTest.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ class TPresenterTest extends \Testbench\CustomPresenterTestCase
public function testRedirectRss()
{
$this->checkRedirect('Presenter:redirectRss', '/x/y/rss');
$this->checkRedirect('Presenter:redirectRss', '/.*');
$this->checkRedirect('Presenter:redirectRss', '/(x|y)/(x|y)/.?s{2}');
}

public function testRedirectRssFailedUrl()
Expand Down

0 comments on commit e871d18

Please sign in to comment.