Remove output buffering functions from setup() and tearDown()
This commit is contained in:
parent
0d1adaa767
commit
efd1843603
|
|
@ -6,17 +6,6 @@ use pjdietz\WellRESTed\Test;
|
|||
|
||||
class ResponseBuilderTest extends \PHPUnit_Framework_TestCase
|
||||
{
|
||||
public function setUp()
|
||||
{
|
||||
ob_start();
|
||||
}
|
||||
|
||||
public function tearDown()
|
||||
{
|
||||
ob_clean();
|
||||
ob_end_clean();
|
||||
}
|
||||
|
||||
public function testConstructor()
|
||||
{
|
||||
$resp = new Response(200, "This is the body", array("Content-type" => "text/plain"));
|
||||
|
|
|
|||
Loading…
Reference in New Issue