Skip to content

Commit

Permalink
Merge branch 'refactor-tests' of github.com:yiisoft/config into refac…
Browse files Browse the repository at this point in the history
…tor-tests
  • Loading branch information
vjik committed Dec 8, 2023
2 parents 15cc4d6 + 795a9ca commit 76b842f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion tests/Case/BaseTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ protected function runComposerUpdateAndCreateConfig(

private function createComposerJson(string $rootPath, array $packages, array $extra): void
{
$require = ["yiisoft/config"];
$require = ['yiisoft/config'];
$repositories = [];

foreach ($packages as $name => $path) {
Expand Down
4 changes: 2 additions & 2 deletions tests/Case/BaseWithPackages/BaseWithPackagesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ public function testBase(): void
$config = $this->runComposerUpdateAndCreateConfig(
rootPath: __DIR__,
packages: [
'test/a' => __DIR__ . '/packages/a'
'test/a' => __DIR__ . '/packages/a',
],
extra: [
'config-plugin' => [
'params' => 'params.php',
'web' => []
'web' => [],
],
],
);
Expand Down
2 changes: 1 addition & 1 deletion tests/Case/BrokenFile/BrokenFileTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public function testBase(): void
rootPath: __DIR__,
extra: [
'config-plugin' => [
'params' => 'params.php'
'params' => 'params.php',
],
],
);
Expand Down
2 changes: 1 addition & 1 deletion tests/Case/EmptyGroup/EmptyGroupTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public function testBase(): void
extra: [
'config-plugin' => [
'params' => [],
'widgets' => []
'widgets' => [],
],
],
);
Expand Down

0 comments on commit 76b842f

Please sign in to comment.