Permalink
Browse files

update tests

  • Loading branch information...
zoghal committed Oct 27, 2013
1 parent 7c4a698 commit cc0c65d7ea571c5d9b40f26e89d9d7dee009f7df
Showing with 12 additions and 0 deletions.
  1. +12 −0 lib/Cake/Test/Case/Network/CakeResponseTest.php
@@ -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);
@@ -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);
@@ -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);

0 comments on commit cc0c65d

Please sign in to comment.