Skip to content

Commit c6217bf

Browse files
committed
Fix constructor argument for namespaceshelper in maker command tests
1 parent 37fdb68 commit c6217bf

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
@@ -51,7 +51,7 @@ public function testExceptionOnUnknownRootNamespace()
5151

5252
$fileManager = $this->createMock(FileManager::class);
5353

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

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

0 commit comments

Comments
 (0)