test: Fix YoutubeStreamTest

This commit is contained in:
Pierre Rudloff 2019-04-26 20:43:01 +02:00
parent 756ff36653
commit 9313bc2230

View file

@ -24,4 +24,24 @@ class YoutubeStreamTest extends StreamTest
$this->stream = new YoutubeStream($video);
}
/**
* Test the getMetadata() function.
*
* @return void
*/
public function testGetMetadataWithKey()
{
$this->assertNull($this->stream->getMetadata('foo'));
}
/**
* Test the detach() function.
*
* @return void
*/
public function testDetach()
{
$this->assertNull($this->stream->detach());
}
}