test: Fix YoutubeStreamTest
This commit is contained in:
parent
756ff36653
commit
9313bc2230
1 changed files with 20 additions and 0 deletions
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue