summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/HTTP_POST_multipartTest.php6
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() {