Skip to content

Commit

Permalink
fix inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
danepowell committed May 16, 2024
1 parent d1c6cc2 commit 3dc4dcf
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tests/phpunit/src/Commands/CommandBaseTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

use Acquia\Cli\Command\App\LinkCommand;
use Acquia\Cli\Command\CommandBase;
use Acquia\Cli\Command\Ide\IdeListCommand;
use Acquia\Cli\Exception\AcquiaCliException;
use Acquia\Cli\Tests\CommandTestBase;

Expand Down Expand Up @@ -35,10 +36,15 @@ public function testUnauthenticatedFailure(): void {
}

public function testCloudAppFromLocalConfig(): void {
$this->command = $this->injectCommand(IdeListCommand::class);
$this->mockRequest('getApplicationByUuid', 'a47ac10b-58cc-4372-a567-0e02b2c3d470');
$this->mockRequest('getApplicationIdes', 'a47ac10b-58cc-4372-a567-0e02b2c3d470');
$this->createMockAcliConfigFile('a47ac10b-58cc-4372-a567-0e02b2c3d470');
$this->executeCommand();
$inputs = [
// Would you like to share anonymous performance usage and data?
'n',
];
$this->executeCommand([], $inputs);

}

Expand Down

0 comments on commit 3dc4dcf

Please sign in to comment.