test(phpunit): Better tests for streams
This commit is contained in:
parent
d30614668b
commit
7bf2510dd2
8 changed files with 307 additions and 175 deletions
|
@ -191,6 +191,8 @@ class PlaylistArchiveStream extends ZipArchive implements StreamInterface
|
|||
*/
|
||||
public function __toString()
|
||||
{
|
||||
$this->rewind();
|
||||
|
||||
return $this->getContents();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue