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()
19
19
$ this ->createStream (new Stream ('php://memory ' ))
20
20
->shouldHaveType ('Psr\Http\Message\StreamInterface ' );
21
21
}
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
- }
30
22
}
Original file line number Diff line number Diff line change @@ -19,12 +19,4 @@ public function it_creates_a_stream_from_stream()
19
19
$ this ->createStream (new Stream (fopen ('php://memory ' , 'rw ' )))
20
20
->shouldHaveType ('Psr\Http\Message\StreamInterface ' );
21
21
}
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
- }
30
22
}
Original file line number Diff line number Diff line change @@ -23,12 +23,4 @@ function it_creates_a_stream_from_stream()
23
23
$ this ->createStream (new Stream ($ resource ))
24
24
->shouldHaveType ('Psr\Http\Message\StreamInterface ' );
25
25
}
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
- }
34
26
}
Original file line number Diff line number Diff line change @@ -24,4 +24,12 @@ function it_creates_a_stream_from_null()
24
24
{
25
25
$ this ->createStream (null )->shouldHaveType ('Psr\Http\Message\StreamInterface ' );
26
26
}
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
+ }
27
35
}
You can’t perform that action at this time.
0 commit comments