Skip to content

Commit

Permalink
Fixes lingering errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
typhonius committed Dec 2, 2020
1 parent 4e5bc27 commit 7e51ad7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/Commands/AccountCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class AccountCommandTest extends AcquiaCliTestCase
{
use CommandTesterTrait;

public function setUp()
public function setUp(): void
{
$this->setupCommandTester(AccountCommand::class);
}
Expand Down
4 changes: 2 additions & 2 deletions tests/Traits/CommandTesterTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,11 @@ public function getAppForTesting($appName = null, $appVersion = null, $commandFi
// Create an instance of the application and use some default parameters.
$root = dirname(dirname(dirname(__DIR__)));
$config = new Config($root);

$input = new ArgvInput();
$output = new BufferedOutput();
$acquiaCli = new AcquiaCli($config, $this->getMockClient(), $input, $output);

// Override the LogstreamManager with a mock in the container.
$container = Robo::getContainer();
$container->add('logstream', $this->logstream);
Expand Down

0 comments on commit 7e51ad7

Please sign in to comment.