From 133127cedadf576e99a3e0712029cbcd1568f4d2 Mon Sep 17 00:00:00 2001 From: uckelman Date: Sun, 9 May 2010 15:29:48 +0000 Subject: Don't call static method with object. git-svn-id: https://vassalengine.svn.sourceforge.net/svnroot/vassalengine/site-src/trunk@6812 67b53d14-2c14-4ace-a08f-0dab2b34000c --- test/HTTP_POST_multipartTest.php | 6 ++++-- 1 file changed, 4 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 362151c..b34e68e 100644 --- a/test/HTTP_POST_multipartTest.php +++ b/test/HTTP_POST_multipartTest.php @@ -18,8 +18,10 @@ class HTTP_POST_multipartTest extends PHPUnit_Framework_TestCase { */ public function testBuildDataPart($name, $data, $expected, $ex) { if ($ex) $this->setExpectedException($ex); - $poster = new HTTP_POST_multipart(); - $this->assertEquals($expected, $poster->buildDataPart($name, $data)); + $this->assertEquals( + $expected, + HTTP_POST_multipart::buildDataPart($name, $data) + ); } public function providerBuildDataPart() { -- cgit v1.2.3