Skip to content

Commit

Permalink
w
Browse files Browse the repository at this point in the history
  • Loading branch information
msvrtan committed Jul 28, 2017
1 parent 48dca5a commit 664d61c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,10 @@ public function testOutput(ClassType $inputClassType, string $expected): void
public function provideData(): \Generator
{
$data = [
'Vendor\Namespace\SomeId',
'Vendor\Namespace\SomeId' => 'SomeId',
];

foreach ($data as $className) {
$fileName = str_replace('\\', '/', $className);

foreach ($data as $className => $fileName) {
yield [
ClassType::createFromFullyQualified($className),
file_get_contents(__DIR__.'/sample-data/'.$fileName.'.output'),
Expand Down

0 comments on commit 664d61c

Please sign in to comment.