Skip to content
Permalink
Browse files

Fix short array usage.

Refs FIVESMX-8723
  • Loading branch information...
markstory committed Apr 29, 2016
1 parent cf55767 commit af953700b8ded502f4ebb7d9b260e2e35e4f4bef
Showing with 4 additions and 4 deletions.
  1. +4 −4 lib/Cake/Test/Case/Network/CakeResponseTest.php
@@ -1735,10 +1735,10 @@ public function invalidFileRangeProvider() {
*/
public function testFileRangeInvalid($range) {
$_SERVER['HTTP_RANGE'] = $range;
$response = $this->getMock('CakeResponse', [
$response = $this->getMock('CakeResponse', array(
'_sendHeader',
'_isActive',
]);
));
$response->file(
CAKE . 'Test' . DS . 'test_app' . DS . 'Vendor' . DS . 'css' . DS . 'test_asset.css',
@@ -1762,10 +1762,10 @@ public function testFileRangeInvalid($range) {
*/
public function testFileRangeReversed() {
$_SERVER['HTTP_RANGE'] = 'bytes=30-5';
$response = $this->getMock('CakeResponse', [
$response = $this->getMock('CakeResponse', array(
'_sendHeader',
'_isActive',
]);
));
$response->file(
CAKE . 'Test' . DS . 'test_app' . DS . 'Vendor' . DS . 'css' . DS . 'test_asset.css',

0 comments on commit af95370

Please sign in to comment.
You can’t perform that action at this time.