Skip to content
This repository has been archived by the owner on Nov 5, 2018. It is now read-only.

Commit

Permalink
Fixing use of short array
Browse files Browse the repository at this point in the history
  • Loading branch information
mtdowling committed Apr 20, 2015
1 parent 5fe45f7 commit c802868
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Aws/Tests/Common/Signature/SignatureV4Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -321,9 +321,9 @@ public function testCreatesPresignedDateFromStrtotime()
public function testCreatesPresignedWithPostFieldsToGet()
{
$_SERVER['override_v4_time'] = true;
$request = new EntityEnclosingRequest('POST', 'http://foo.com', [
$request = new EntityEnclosingRequest('POST', 'http://foo.com', array(
'Content-Type' => 'application/x-www-form-urlencoded'
]);
));
$request->setPostField('Foo', 'Bar');
$credentials = new Credentials('foo', 'bar');
$signature = new SignatureV4('service', 'region');
Expand Down

0 comments on commit c802868

Please sign in to comment.