mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 11:06:15 +00:00
Created a buffer for CakeResponse testing
This commit is contained in:
parent
15753ab641
commit
812e449680
1 changed files with 18 additions and 0 deletions
|
@ -20,6 +20,24 @@ App::uses('CakeResponse', 'Network');
|
||||||
|
|
||||||
class CakeResponseTest extends CakeTestCase {
|
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
|
* Tests the request object constructor
|
||||||
*
|
*
|
||||||
|
|
Loading…
Add table
Reference in a new issue