diff options
author | uckelman <uckelman@nomic.net> | 2010-05-09 15:29:48 +0000 |
---|---|---|
committer | uckelman <uckelman@nomic.net> | 2010-05-09 15:29:48 +0000 |
commit | 133127cedadf576e99a3e0712029cbcd1568f4d2 (patch) | |
tree | 2a03f7c4aae0d6ffc59076c530922b27a3b5f487 | |
parent | 7daaa9f12a189842d46e776de3a70f583bef1924 (diff) |
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
-rw-r--r-- | test/HTTP_POST_multipartTest.php | 6 |
1 files changed, 4 insertions, 2 deletions
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() { |