Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
zoghal committed Oct 27, 2013
1 parent 7c4a698 commit cc0c65d
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions lib/Cake/Test/Case/Network/CakeResponseTest.php
Expand Up @@ -1132,6 +1132,10 @@ public function testFileWithUnknownFileTypeGeneric() {
->with('Accept-Ranges', 'bytes');

$response->expects($this->at(3))
->method('header')
->with('Content-Transfer-Encoding', 'binary');

$response->expects($this->at(4))
->method('header')
->with('Content-Length', 35);

Expand Down Expand Up @@ -1193,6 +1197,10 @@ public function testFileWithUnknownFileTypeOpera() {
->with('Accept-Ranges', 'bytes');

$response->expects($this->at(4))
->method('header')
->with('Content-Transfer-Encoding', 'binary');

$response->expects($this->at(5))
->method('header')
->with('Content-Length', 35);

Expand Down Expand Up @@ -1253,6 +1261,10 @@ public function testFileWithUnknownFileTypeIE() {
->with('Accept-Ranges', 'bytes');

$response->expects($this->at(4))
->method('header')
->with('Content-Transfer-Encoding', 'binary');

$response->expects($this->at(5))
->method('header')
->with('Content-Length', 35);

Expand Down

0 comments on commit cc0c65d

Please sign in to comment.