Skip to content

Commit 286cadd

Browse files
committed
Removed test that creates uploaded file from string
1 parent 0e1275d commit 286cadd

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
}
1717
],
1818
"require": {
19-
"http-interop/http-factory": "^0.3 || 1.0.x-dev",
19+
"http-interop/http-factory": "^0.4 || 1.0.x-dev",
2020
"phpunit/phpunit": "^5.7 || ^6.0 || ^7.0"
2121
},
2222
"autoload": {

test/UploadedFileFactoryTestCase.php

-10
Original file line numberDiff line numberDiff line change
@@ -41,16 +41,6 @@ protected function assertUploadedFile(
4141
$this->assertSame($clientMediaType, $file->getClientMediaType());
4242
}
4343

44-
public function testCreateUploadedFileWithString()
45-
{
46-
$content = 'i made this!';
47-
$size = strlen($content);
48-
49-
$file = $this->factory->createUploadedFile($content);
50-
51-
$this->assertUploadedFile($file, $content, $size);
52-
}
53-
5444
public function testCreateUploadedFileWithClientFilenameAndMediaType()
5545
{
5646
$content = 'this is your capitan speaking';

0 commit comments

Comments
 (0)