From 8029a022bda665a51394150d9530e82e2813c8bd Mon Sep 17 00:00:00 2001 From: uckelman Date: Sun, 9 May 2010 17:06:03 +0000 Subject: Adjusted test. git-svn-id: https://vassalengine.svn.sourceforge.net/svnroot/vassalengine/site-src/trunk@6827 67b53d14-2c14-4ace-a08f-0dab2b34000c --- test/HTTP_POST_multipartTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/HTTP_POST_multipartTest.php') 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() { -- cgit v1.2.3