summaryrefslogtreecommitdiff
path: root/test/HTTP_POST_multipartTest.php
diff options
context:
space:
mode:
authoruckelman <uckelman@nomic.net>2010-05-09 17:06:03 +0000
committeruckelman <uckelman@nomic.net>2010-05-09 17:06:03 +0000
commit8029a022bda665a51394150d9530e82e2813c8bd (patch)
tree2550fd9278e2e264718f4ee4155504c04e337343 /test/HTTP_POST_multipartTest.php
parent6eba2450f16d4efe7a7a80e2f2fe902395de5a4c (diff)
Adjusted test.
git-svn-id: https://vassalengine.svn.sourceforge.net/svnroot/vassalengine/site-src/trunk@6827 67b53d14-2c14-4ace-a08f-0dab2b34000c
Diffstat (limited to 'test/HTTP_POST_multipartTest.php')
-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() {