Skip to content

Commit

Permalink
Fix remaining failing tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Jul 4, 2012
1 parent 34cd212 commit 6d53ecb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 3 additions & 0 deletions lib/Cake/Test/TestCase/Routing/Route/RedirectRouteTest.php
Expand Up @@ -50,6 +50,9 @@ public function setUp() {
* @return void
*/
public function testParsing() {
Router::connect('/:controller', array('action' => 'index'));
Router::connect('/:controller/:action/*');

$route = new RedirectRoute('/home', array('controller' => 'posts'));
$route->stop = false;
$route->response = $this->getMock('Cake\Network\Response', array('_sendHeader'));
Expand Down
2 changes: 0 additions & 2 deletions lib/Cake/Test/TestCase/Routing/RouterTest.php
Expand Up @@ -814,8 +814,6 @@ public function testCanLeavePlugin() {
);
$result = Router::url(array('plugin' => null, 'controller' => 'posts', 'action' => 'index'));
$this->assertEquals('/admin/posts', $result);

$this->assertEquals('/admin/other/posts/index', $result);
}

/**
Expand Down

0 comments on commit 6d53ecb

Please sign in to comment.