This commit is contained in:
@ -30,7 +30,7 @@ final class AppTest extends \PHPUnit\Framework\TestCase
|
||||
public function testBadConfigFileSyntaxError(): void
|
||||
{
|
||||
$this->expectException(\TypeError::class);
|
||||
|
||||
|
||||
$app = new App('tests/config/bad/syntaxerror.yml');
|
||||
$app->getConfig('rclone');
|
||||
$app->getConfig('rclone.path');
|
||||
@ -47,7 +47,7 @@ final class AppTest extends \PHPUnit\Framework\TestCase
|
||||
public function testBadConfigFileEmpty(): void
|
||||
{
|
||||
$this->expectException(\TypeError::class);
|
||||
|
||||
|
||||
$app = new App('tests/config/bad/empty.yml');
|
||||
$app->getConfig('rclone');
|
||||
$app->getConfig('rclone.path');
|
||||
@ -64,7 +64,7 @@ final class AppTest extends \PHPUnit\Framework\TestCase
|
||||
public function testBadConfigFileTypos(): void
|
||||
{
|
||||
$this->expectException(\League\Config\Exception\ValidationException::class);
|
||||
|
||||
|
||||
$app = new App('tests/config/bad/typos.yml');
|
||||
$app->getConfig('rclone');
|
||||
$app->getConfig('rclone.path');
|
||||
|
Reference in New Issue
Block a user