Syntax jitter
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2023-11-16 10:30:24 +00:00
parent cadb207758
commit 344dd52019
2 changed files with 23 additions and 23 deletions

View File

@ -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');