Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
3ec95536
Commit
3ec95536
authored
Jun 15, 2013
by
Qiang Xue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed test break.
parent
36f6ebab
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
ResponseTest.php
tests/unit/framework/web/ResponseTest.php
+3
-3
No files found.
tests/unit/framework/web/ResponseTest.php
View file @
3ec95536
...
@@ -5,7 +5,7 @@ namespace yiiunit\framework\web;
...
@@ -5,7 +5,7 @@ namespace yiiunit\framework\web;
use
Yii
;
use
Yii
;
use
yii\helpers\StringHelper
;
use
yii\helpers\StringHelper
;
class
Response
extends
\yii\web\Response
class
Mock
Response
extends
\yii\web\Response
{
{
public
function
send
()
public
function
send
()
{
{
...
@@ -16,7 +16,7 @@ class Response extends \yii\web\Response
...
@@ -16,7 +16,7 @@ class Response extends \yii\web\Response
class
ResponseTest
extends
\yiiunit\TestCase
class
ResponseTest
extends
\yiiunit\TestCase
{
{
/**
/**
* @var Response
* @var
Mock
Response
*/
*/
public
$response
;
public
$response
;
...
@@ -24,7 +24,7 @@ class ResponseTest extends \yiiunit\TestCase
...
@@ -24,7 +24,7 @@ class ResponseTest extends \yiiunit\TestCase
{
{
parent
::
setUp
();
parent
::
setUp
();
$this
->
mockApplication
();
$this
->
mockApplication
();
$this
->
response
=
new
Response
;
$this
->
response
=
new
Mock
Response
;
}
}
public
function
rightRanges
()
public
function
rightRanges
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment