Permalink
Browse files

Created a buffer for CakeResponse testing

  • Loading branch information...
1 parent 15753ab commit 812e44968053984c6f5125fe7f6bad282d0e1b87 @predominant predominant committed Nov 5, 2011
Showing with 18 additions and 0 deletions.
  1. +18 −0 lib/Cake/Test/Case/Network/CakeResponseTest.php
@@ -21,6 +21,24 @@
class CakeResponseTest extends CakeTestCase {
/**
+ * Setup for tests
+ *
+ * @return void
+ */
+ public function setUp() {
+ ob_start();
+ }
+
+/**
+ * Cleanup after tests
+ *
+ * @return void
+ */
+ public function tearDown() {
+ ob_end_clean();
+ }
+
+/**
* Tests the request object constructor
*
*/

0 comments on commit 812e449

Please sign in to comment.