Created a buffer for CakeResponse testing

This commit is contained in:
Graham Weldon 2011-11-06 08:21:10 +11:00
parent 15753ab641
commit 812e449680

View file

@ -20,6 +20,24 @@ App::uses('CakeResponse', 'Network');
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
*