Skip to content

Commit

Permalink
Use array in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Seldaek authored Apr 29, 2024
1 parent 81f81b4 commit 54e4507
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/ClassMapGeneratorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ public function testCreateMapWithDirectoryExcluded(): void
'PrefixCollision_A_B_Foo' => realpath(__DIR__) . '/Fixtures/beta/PrefixCollision/A/B/Foo.php',
);

$this->generator->scanPaths(realpath(__DIR__) . '/Fixtures/beta', null, 'classmap', null, 'NamespaceCollision');
$this->generator->scanPaths(realpath(__DIR__) . '/Fixtures/beta', null, 'classmap', null, ['NamespaceCollision']);
$result = $this->generator->getClassMap();
self::assertEqualsNormalized($expected, $result->getMap());
}
Expand Down

0 comments on commit 54e4507

Please sign in to comment.