Skip to content

Commit

Permalink
Fixed test break.
Browse files Browse the repository at this point in the history
  • Loading branch information
qiangxue committed Jun 15, 2013
1 parent 36f6eba commit 3ec9553
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/unit/framework/web/ResponseTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use Yii;
use yii\helpers\StringHelper;

class Response extends \yii\web\Response
class MockResponse extends \yii\web\Response
{
public function send()
{
Expand All @@ -16,15 +16,15 @@ public function send()
class ResponseTest extends \yiiunit\TestCase
{
/**
* @var Response
* @var MockResponse
*/
public $response;

protected function setUp()
{
parent::setUp();
$this->mockApplication();
$this->response = new Response;
$this->response = new MockResponse;
}

public function rightRanges()
Expand Down

0 comments on commit 3ec9553

Please sign in to comment.