Skip to content

Commit

Permalink
Tests the ability to use the --realm option. (#88)
Browse files Browse the repository at this point in the history
  • Loading branch information
typhonius authored May 20, 2020
1 parent 82d4f48 commit bc0ed96
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/AcquiaCliApplicationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,14 @@ public function testClientOptions()
$this->assertSame($expectedQuery, $actualQuery);
}

public function testRealm()
{
$command = ['application:info', 'devcloud2', '--realm=devcloud'];
$response = $this->execute($command);
// We're not looking to test the complete output here, just that we get one.
$this->assertStringContainsString('24-a47ac10b-58cc-4372-a567-0e02b2c3d470', $response);
}

public function testCloudApi()
{

Expand Down

0 comments on commit bc0ed96

Please sign in to comment.