parent
88ea150d5a
commit
2432a06c1b
9 changed files with 116 additions and 29 deletions
|
@ -5,6 +5,7 @@
|
|||
|
||||
namespace Alltube\Test;
|
||||
|
||||
use Alltube\Config;
|
||||
use Alltube\PlaylistArchiveStream;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
|
@ -25,7 +26,12 @@ class PlaylistArchiveStreamTest extends TestCase
|
|||
*/
|
||||
protected function setUp()
|
||||
{
|
||||
$this->stream = new PlaylistArchiveStream();
|
||||
if (PHP_OS == 'WINNT') {
|
||||
$configFile = 'config_test_windows.yml';
|
||||
} else {
|
||||
$configFile = 'config_test.yml';
|
||||
}
|
||||
$this->stream = new PlaylistArchiveStream(Config::getInstance('config/'.$configFile));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue