mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
Fixing errors in CakeTestCase::testAction tests case caused by changes in test suite not always forcing an output parameter.
This commit is contained in:
parent
92ff9ccae0
commit
3be28fc749
1 changed files with 0 additions and 2 deletions
|
@ -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']));
|
||||
|
|
Loading…
Add table
Reference in a new issue