Skip to content

Commit

Permalink
Fixing unit test for latest update to how Guzzle handles POST uploads
Browse files Browse the repository at this point in the history
  • Loading branch information
mtdowling committed May 23, 2012
1 parent 78a24d2 commit aab31c4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Goutte/Tests/ClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,12 @@ public function testUsesPostFiles()
$request = $this->historyPlugin->getLastRequest();

$this->assertEquals(array(
'test' => __FILE__
'test' => array(
array(
'file' => __FILE__,
'type' => 'text/x-php'
)
)
), $request->getPostFiles());
}

Expand Down

0 comments on commit aab31c4

Please sign in to comment.