From 879a37820d0d6cd5d748905ceeb775a9c82857c6 Mon Sep 17 00:00:00 2001 From: Pierre Rudloff Date: Fri, 5 May 2017 00:16:16 +0200 Subject: [PATCH] Remove useless arguments --- tests/PlaylistArchiveStreamTest.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/PlaylistArchiveStreamTest.php b/tests/PlaylistArchiveStreamTest.php index 9984a66..530b71e 100644 --- a/tests/PlaylistArchiveStreamTest.php +++ b/tests/PlaylistArchiveStreamTest.php @@ -34,7 +34,7 @@ class PlaylistArchiveStreamTest extends \PHPUnit_Framework_TestCase */ public function testStreamOpen() { - $this->assertTrue($this->stream->stream_open('playlist://foo', 'r')); + $this->assertTrue($this->stream->stream_open('playlist://foo')); } /** @@ -64,7 +64,7 @@ class PlaylistArchiveStreamTest extends \PHPUnit_Framework_TestCase */ public function testStreamTell() { - $this->stream->stream_open('playlist://foo', 'r'); + $this->stream->stream_open('playlist://foo'); $this->assertInternalType('int', $this->stream->stream_tell()); } @@ -75,7 +75,7 @@ class PlaylistArchiveStreamTest extends \PHPUnit_Framework_TestCase */ public function testStreamSeek() { - $this->stream->stream_open('playlist://foo', 'r'); + $this->stream->stream_open('playlist://foo'); $this->assertInternalType('bool', $this->stream->stream_seek(3)); } @@ -86,7 +86,7 @@ class PlaylistArchiveStreamTest extends \PHPUnit_Framework_TestCase */ public function testStreamRead() { - $this->stream->stream_open('playlist://BaW_jenozKc;BaW_jenozKc/worst', 'r'); + $this->stream->stream_open('playlist://BaW_jenozKc;BaW_jenozKc/worst'); while (!$this->stream->stream_eof()) { $this->assertLessThanOrEqual(8192, strlen($this->stream->stream_read(8192))); } @@ -99,7 +99,7 @@ class PlaylistArchiveStreamTest extends \PHPUnit_Framework_TestCase */ public function testStreamEof() { - $this->stream->stream_open('playlist://foo', 'r'); - $this->assertFalse($this->stream->stream_eof(3)); + $this->stream->stream_open('playlist://foo'); + $this->assertFalse($this->stream->stream_eof()); } }