Skip to content

Commit

Permalink
fix aws s3 provider tests by adding http config param
Browse files Browse the repository at this point in the history
  • Loading branch information
Mulkave committed Jun 25, 2016
1 parent 65b7748 commit 3be5c0a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 1 addition & 2 deletions tests/Vinelab/Cdn/CdnTest.php
Expand Up @@ -87,6 +87,7 @@ public function testPushCommand()
's3' => [
'region' => 'us-standard',
'version' => 'latest',
'http' => null,
'buckets' => [
'my-bucket-name' => '*',
],
Expand All @@ -100,8 +101,6 @@ public function testPushCommand()
'expires' => gmdate('D, d M Y H:i:s T', strtotime('+5 years')),

'cache-control' => 'max-age=2628000',

'version' => '',
],
],
],
Expand Down
4 changes: 4 additions & 0 deletions tests/Vinelab/Cdn/Providers/AwsS3ProviderTest.php
Expand Up @@ -87,6 +87,7 @@ public function testInitializingObject()
'expires' => gmdate('D, d M Y H:i:s T', strtotime('+5 years')),
'cache-control' => 'max-age=2628000',
'version' => null,
'http' => null,
],
],
],
Expand Down Expand Up @@ -120,6 +121,7 @@ public function testUploadingAssets()
'expires' => gmdate('D, d M Y H:i:s T', strtotime('+5 years')),
'cache-control' => 'max-age=2628000',
'version' => null,
'http' => null,
],
],
],
Expand Down Expand Up @@ -155,6 +157,7 @@ public function testUrlGenerator()
'expires' => gmdate('D, d M Y H:i:s T', strtotime('+5 years')),
'cache-control' => 'max-age=2628000',
'version' => null,
'http' => null,
],
],
],
Expand Down Expand Up @@ -190,6 +193,7 @@ public function testEmptyUrlGenerator()
'expires' => gmdate('D, d M Y H:i:s T', strtotime('+5 years')),
'cache-control' => 'max-age=2628000',
'version' => null,
'http' => null,
],
],
],
Expand Down

0 comments on commit 3be5c0a

Please sign in to comment.