File tree Expand file tree Collapse file tree 4 files changed +8
-24
lines changed Expand file tree Collapse file tree 4 files changed +8
-24
lines changed Original file line number Diff line number Diff line change @@ -19,12 +19,4 @@ function it_creates_a_stream_from_stream()
1919 $ this ->createStream (new Stream ('php://memory ' ))
2020 ->shouldHaveType ('Psr\Http\Message\StreamInterface ' );
2121 }
22-
23- function it_creates_a_stream_from_non_seekable_resource ()
24- {
25- $ url = 'https://raw.githubusercontent.com/php-http/multipart-stream-builder/master/tests/Resources/httplug.png ' ;
26- $ resource = fopen ($ url , 'r ' );
27- $ this ->createStream ($ resource )
28- ->shouldHaveType ('Psr\Http\Message\StreamInterface ' );
29- }
3022}
Original file line number Diff line number Diff line change @@ -19,12 +19,4 @@ public function it_creates_a_stream_from_stream()
1919 $ this ->createStream (new Stream (fopen ('php://memory ' , 'rw ' )))
2020 ->shouldHaveType ('Psr\Http\Message\StreamInterface ' );
2121 }
22-
23- function it_creates_a_stream_from_non_seekable_resource ()
24- {
25- $ url = 'https://raw.githubusercontent.com/php-http/multipart-stream-builder/master/tests/Resources/httplug.png ' ;
26- $ resource = fopen ($ url , 'r ' );
27- $ this ->createStream ($ resource )
28- ->shouldHaveType ('Psr\Http\Message\StreamInterface ' );
29- }
3022}
Original file line number Diff line number Diff line change @@ -23,12 +23,4 @@ function it_creates_a_stream_from_stream()
2323 $ this ->createStream (new Stream ($ resource ))
2424 ->shouldHaveType ('Psr\Http\Message\StreamInterface ' );
2525 }
26-
27- function it_creates_a_stream_from_non_seekable_resource ()
28- {
29- $ url = 'https://raw.githubusercontent.com/php-http/multipart-stream-builder/master/tests/Resources/httplug.png ' ;
30- $ resource = fopen ($ url , 'r ' );
31- $ this ->createStream ($ resource )
32- ->shouldHaveType ('Psr\Http\Message\StreamInterface ' );
33- }
3426}
Original file line number Diff line number Diff line change @@ -24,4 +24,12 @@ function it_creates_a_stream_from_null()
2424 {
2525 $ this ->createStream (null )->shouldHaveType ('Psr\Http\Message\StreamInterface ' );
2626 }
27+
28+ function it_creates_a_stream_from_non_seekable_resource ()
29+ {
30+ $ url = 'https://raw.githubusercontent.com/php-http/multipart-stream-builder/master/tests/Resources/httplug.png ' ;
31+ $ resource = fopen ($ url , 'r ' );
32+ $ this ->createStream ($ resource )
33+ ->shouldHaveType ('Psr\Http\Message\StreamInterface ' );
34+ }
2735}
You can’t perform that action at this time.
0 commit comments