Browse Source

Add test case for assertNoRedirect

euromark 11 years ago
parent
commit
76468c67fa
1 changed files with 11 additions and 0 deletions
  1. 11 0
      tests/TestCase/TestSuite/IntegrationTestCaseTest.php

+ 11 - 0
tests/TestCase/TestSuite/IntegrationTestCaseTest.php

@@ -172,6 +172,17 @@ class IntegrationTestCaseTest extends IntegrationTestCase {
 	}
 
 /**
+ * Test the location header assertion.
+ *
+ * @return void
+ */
+	public function testAssertNoRedirect() {
+		$this->_response = new Response();
+
+		$this->assertNoRedirect();
+	}
+
+/**
  * Test the header assertion.
  *
  * @return void