Skip to content

Commit

Permalink
AssetFactoryTest // fix type in dataProvider.
Browse files Browse the repository at this point in the history
  • Loading branch information
Chrico committed Mar 25, 2021
1 parent ce714a2 commit e69eda8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/phpunit/Unit/AssetFactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public function testDependencies($input, array $expected): void
'handle' => 'foo',
'url' => 'foo.js',
'type' => Script::class,
'dependencies' => $input
'dependencies' => $input,
]
);

Expand All @@ -123,7 +123,7 @@ public function provideDependencies(): \Generator
['dependency-1', 'dependency-2', 'dependency-3'],
];

yield "non scalar - bool" => [
yield "non scalar - class" => [
new \stdClass(),
[],
];
Expand Down

0 comments on commit e69eda8

Please sign in to comment.