Skip to content

Commit

Permalink
Fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
srtfisher committed Apr 12, 2023
1 parent 3325172 commit 8673077
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/console/test-command.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace Mantle\Tests\Console;

use Mantle\Application\Application;
use Mantle\Console\Command;
use Mantle\Container\Container;
use PHPUnit\Framework\TestCase;
Expand Down Expand Up @@ -36,7 +37,7 @@ public function test_command_argument_and_option_reading() {
public function __invoke() { }
};

$command->set_container( new Container() );
$command->set_container( new Application() );

$command->run( new ArrayInput( [
'arg1' => 'value1',
Expand Down Expand Up @@ -69,7 +70,7 @@ public function test_command_invalid_arguments() {
protected $signature = 'foo:bar {arg1}';
};

$command->set_container( new Container() );
$command->set_container( new Application() );

$command->run( new ArrayInput( [
'arg1' => 'value1',
Expand Down

0 comments on commit 8673077

Please sign in to comment.