Skip to content

Commit 5abd1fb

Browse files
committed
Fix constructor argument for namespaceshelper in maker command tests
1 parent bdbdbcf commit 5abd1fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Command/MakerCommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public function testExceptionOnUnknownRootNamespace(): void
5555

5656
$fileManager = $this->createMock(FileManager::class);
5757

58-
$namespacesHelper = new NamespacesHelper(['root_namespace' => 'Unknown']);
58+
$namespacesHelper = new NamespacesHelper(['root' => 'Unknown']);
5959

6060
$command = new MakerCommand($maker, $fileManager, new Generator($fileManager, $namespacesHelper));
6161
// needed because it's normally set by the Application

0 commit comments

Comments
 (0)