Browse Source

Asserting "hack" to avoid "Risky" test result.
(When the test was made, it was throwing an error, it isn't anymore :))

Kim Egede Jakobsen 11 years ago
parent
commit
a28717983d
1 changed files with 3 additions and 0 deletions
  1. 3 0
      tests/TestCase/TestSuite/ControllerTestCaseTest.php

+ 3 - 0
tests/TestCase/TestSuite/ControllerTestCaseTest.php

@@ -469,6 +469,7 @@ class ControllerTestCaseTest extends TestCase {
 
 /**
  * Test that multiple calls to redirect in the same test method don't cause issues.
+ * - Asserting true, to avoid test to be shown as "Risky".
  *
  * @return void
  */
@@ -478,6 +479,8 @@ class ControllerTestCaseTest extends TestCase {
 		$options = array('method' => 'get');
 		$this->Case->testAction('/tests_apps/redirect_to', $options);
 		$this->Case->testAction('/tests_apps/redirect_to', $options);
+
+		$this->assertTrue(true);
 	}
 
 /**