Skip to content

Commit

Permalink
Fixing errors in CakeTestCase::testAction tests case caused by change…
Browse files Browse the repository at this point in the history
…s in test suite not always forcing an output parameter.
  • Loading branch information
markstory committed Jan 17, 2010
1 parent 92ff9cc commit 3be28fc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cake/tests/cases/libs/cake_test_case.test.php
Expand Up @@ -343,7 +343,6 @@ function testTestAction() {
'method' => 'get',
));
$this->assertTrue(isset($result['params']['url']['url']));
$this->assertTrue(isset($result['params']['url']['output']));
$this->assertEqual(array_keys($result['params']['named']), array('var1', 'var2'));

$result = $this->Case->testAction('/tests_apps_posts/url_var/gogo/val2', array(
Expand All @@ -361,7 +360,6 @@ function testTestAction() {
'blue' => 'mana'
)
));
$this->assertTrue(isset($result['params']['url']['output']));
$this->assertTrue(isset($result['params']['url']['red']));
$this->assertTrue(isset($result['params']['url']['blue']));
$this->assertTrue(isset($result['params']['url']['url']));
Expand Down

0 comments on commit 3be28fc

Please sign in to comment.