From 3be28fc749bcda19ff5c70de9ab1ea9b710d6782 Mon Sep 17 00:00:00 2001 From: Mark Story Date: Sat, 16 Jan 2010 20:18:20 -0500 Subject: [PATCH] Fixing errors in CakeTestCase::testAction tests case caused by changes in test suite not always forcing an output parameter. --- cake/tests/cases/libs/cake_test_case.test.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/cake/tests/cases/libs/cake_test_case.test.php b/cake/tests/cases/libs/cake_test_case.test.php index a9c472f28..8d957b56b 100644 --- a/cake/tests/cases/libs/cake_test_case.test.php +++ b/cake/tests/cases/libs/cake_test_case.test.php @@ -343,7 +343,6 @@ class CakeTestCaseTest extends CakeTestCase { '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( @@ -361,7 +360,6 @@ class CakeTestCaseTest extends CakeTestCase { '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']));