Cleanup root folder (fixes #110)

This commit is contained in:
Pierre Rudloff 2017-05-15 07:25:14 +02:00
parent c1c6c2dd97
commit f9203706f7
21 changed files with 17 additions and 17 deletions

View file

@ -24,7 +24,7 @@ class ConfigTest extends \PHPUnit_Framework_TestCase
*/
protected function setUp()
{
$this->config = Config::getInstance('config_test.yml');
$this->config = Config::getInstance('config/config_test.yml');
}
/**
@ -83,7 +83,7 @@ class ConfigTest extends \PHPUnit_Framework_TestCase
Config::destroyInstance();
putenv('CONVERT=1');
putenv('PYTHON=foo');
$config = Config::getInstance('config_test.yml');
$config = Config::getInstance('config/config_test.yml');
$this->assertEquals($config->convert, true);
$this->assertEquals($config->python, 'foo');
putenv('CONVERT');

View file

@ -55,7 +55,7 @@ class FrontControllerTest extends \PHPUnit_Framework_TestCase
$this->request = Request::createFromEnvironment(Environment::mock());
$this->response = new Response();
$this->container['view'] = ViewFactory::create($this->container, $this->request);
$this->controller = new FrontController($this->container, Config::getInstance('config_test.yml'));
$this->controller = new FrontController($this->container, Config::getInstance('config/config_test.yml'));
$this->container['router']->map(['GET'], '/', [$this->controller, 'index'])
->setName('index');
$this->container['router']->map(['GET'], '/video', [$this->controller, 'video'])

View file

@ -25,7 +25,7 @@ class VideoDownloadTest extends \PHPUnit_Framework_TestCase
*/
protected function setUp()
{
$this->download = new VideoDownload(Config::getInstance('config_test.yml'));
$this->download = new VideoDownload(Config::getInstance('config/config_test.yml'));
}
/**