update tests

This commit is contained in:
Saleh Souzanchi 2013-10-28 02:24:58 +03:30
parent 7c4a698bde
commit cc0c65d7ea

View file

@ -1132,6 +1132,10 @@ class CakeResponseTest extends CakeTestCase {
->with('Accept-Ranges', 'bytes'); ->with('Accept-Ranges', 'bytes');
$response->expects($this->at(3)) $response->expects($this->at(3))
->method('header')
->with('Content-Transfer-Encoding', 'binary');
$response->expects($this->at(4))
->method('header') ->method('header')
->with('Content-Length', 35); ->with('Content-Length', 35);
@ -1193,6 +1197,10 @@ class CakeResponseTest extends CakeTestCase {
->with('Accept-Ranges', 'bytes'); ->with('Accept-Ranges', 'bytes');
$response->expects($this->at(4)) $response->expects($this->at(4))
->method('header')
->with('Content-Transfer-Encoding', 'binary');
$response->expects($this->at(5))
->method('header') ->method('header')
->with('Content-Length', 35); ->with('Content-Length', 35);
@ -1253,6 +1261,10 @@ class CakeResponseTest extends CakeTestCase {
->with('Accept-Ranges', 'bytes'); ->with('Accept-Ranges', 'bytes');
$response->expects($this->at(4)) $response->expects($this->at(4))
->method('header')
->with('Content-Transfer-Encoding', 'binary');
$response->expects($this->at(5))
->method('header') ->method('header')
->with('Content-Length', 35); ->with('Content-Length', 35);