summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/HTTP_POST_multipartTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/HTTP_POST_multipartTest.php b/test/HTTP_POST_multipartTest.php
index 44fd21e..bb29422 100644
--- a/test/HTTP_POST_multipartTest.php
+++ b/test/HTTP_POST_multipartTest.php
@@ -98,8 +98,8 @@ class HTTP_POST_multipartTest extends PHPUnit_Framework_TestCase {
list($boundary, $content) =
self::getMethod('buildPost')->invokeArgs(null, array($parts));
- $actual = str_replace('boundary', $boundary, $content);
- $this->assertEquals($expected, $actual);
+ $expected = str_replace('boundary', $boundary, $expected);
+ $this->assertEquals($expected, $content);
}
public function providerBuildPost() {