|
|
@@ -116,7 +116,6 @@ class FormDataTest extends TestCase
|
|
|
'value',
|
|
|
'--' . $boundary . '--',
|
|
|
'',
|
|
|
- '',
|
|
|
];
|
|
|
$this->assertEquals(implode("\r\n", $expected), (string)$data);
|
|
|
}
|
|
|
@@ -163,7 +162,6 @@ class FormDataTest extends TestCase
|
|
|
$contents,
|
|
|
'--' . $boundary . '--',
|
|
|
'',
|
|
|
- ''
|
|
|
];
|
|
|
$this->assertEquals(implode("\r\n", $expected), $result);
|
|
|
}
|
|
|
@@ -194,7 +192,6 @@ class FormDataTest extends TestCase
|
|
|
$contents,
|
|
|
'--' . $boundary . '--',
|
|
|
'',
|
|
|
- ''
|
|
|
];
|
|
|
$this->assertEquals(implode("\r\n", $expected), $result);
|
|
|
}
|
|
|
@@ -217,7 +214,7 @@ class FormDataTest extends TestCase
|
|
|
$data->addFile('upload', fopen($file, 'r'));
|
|
|
$boundary = $data->boundary();
|
|
|
$result = $data->contentType();
|
|
|
- $expected = 'multipart/form-data; boundary="' . $boundary . '"';
|
|
|
+ $expected = 'multipart/form-data; boundary=' . $boundary;
|
|
|
$this->assertEquals($expected, $result);
|
|
|
}
|
|
|
}
|