diff --git a/src/Console/AbstractConsole.php b/src/Console/AbstractConsole.php index 9311d6f4ea..9c4a53bdaf 100644 --- a/src/Console/AbstractConsole.php +++ b/src/Console/AbstractConsole.php @@ -1,5 +1,10 @@ createMock(Container::class); - $dice->expects($this->never())->method('create'); + $container = $this->createMock(Container::class); + $container->expects($this->never())->method('create'); - $app = App::fromContainer($dice); + $app = App::fromContainer($container); $this->assertInstanceOf(App::class, $app); }