Skip to content

Commit

Permalink
Fix: Adjust tests
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed May 19, 2022
1 parent 61349a4 commit 63086bf
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions tests/Config/ConfigResolverTest.php
Expand Up @@ -143,13 +143,36 @@ public function testGetConfigFileReturnsConfigFileWhenConfigOptionHasNotBeenSpec
public function provideDefaultConfigFileNameAndAvailableDefaultConfigFileNames(): array
{
return [
[
'.twig_cs.php',
[
'.twig_cs.php',
'.twig_cs.dist.php',
'.twig_cs',
'.twig_cs.dist',
],
],
[
'.twig_cs.dist.php',
[
'.twig_cs.dist.php',
'.twig_cs',
'.twig_cs.dist',
],
],
[
'.twig_cs',
[
'.twig_cs',
'.twig_cs.dist',
],
],
[
'.twig_cs.dist',
[
'.twig_cs.dist',
],
],
];
}

Expand Down Expand Up @@ -276,6 +299,8 @@ public function testGetConfigFileReturnsConfigFileWhenConfigOptionHasBeenSpecifi
public function provideDefaultConfigFileName(): \Generator
{
$defaultConfigFileNames = [
'.twig_cs.php',
'.twig_cs.dist.php',
'.twig_cs',
'.twig_cs.dist',
];
Expand Down

0 comments on commit 63086bf

Please sign in to comment.