2018-10-06 10:40:18 +03:00
|
|
|
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
|
|
namespace ShlinkioTest\Shlink\Installer;
|
|
|
|
|
|
|
|
use PHPUnit\Framework\TestCase;
|
|
|
|
use Shlinkio\Shlink\Installer\ConfigProvider;
|
|
|
|
|
|
|
|
class ConfigProviderTest extends TestCase
|
|
|
|
{
|
2018-11-20 21:30:27 +03:00
|
|
|
/** @var ConfigProvider */
|
2018-11-20 21:37:22 +03:00
|
|
|
private $configProvider;
|
2018-10-06 10:40:18 +03:00
|
|
|
|
|
|
|
public function setUp()
|
|
|
|
{
|
|
|
|
$this->configProvider = new ConfigProvider();
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @test
|
|
|
|
*/
|
|
|
|
public function configIsReturned()
|
|
|
|
{
|
|
|
|
$config = $this->configProvider->__invoke();
|
|
|
|
$this->assertEmpty($config);
|
|
|
|
}
|
|
|
|
}
|