Removing echo statement in router.test.php

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5456 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
phpnut 2007-07-24 14:40:34 +00:00
parent 9ee71eefa7
commit c8dca3c666

View file

@ -48,8 +48,6 @@ class RouterTest extends UnitTestCase {
$this->router->testVar = 'test';
$this->assertIdentical($this->router, Router::getInstance());
unset($this->router->testVar);
//pr($_SERVER);
echo "<form method='post' action='http://localhost/cake/testbed/webroot/test.php?case=libs%2Frouter.test.php'><input type='text' /></form>";
}
function testRouteWriting() {
@ -329,7 +327,7 @@ class RouterTest extends UnitTestCase {
$expected = '/posts/index/published:0/deleted:0';
$this->assertEqual($result, $expected);
}
function testParamsUrlParsing() {
$this->router->routes = array();
Router::connect('/', array('controller' => 'posts', 'action' => 'index'));