Skip to content

Commit

Permalink
Updates typhonius/acquia-php-sdk-v2 to latest and amends tests due to…
Browse files Browse the repository at this point in the history
… changes in user agent code. (#121)
  • Loading branch information
typhonius authored Oct 7, 2020
1 parent f782245 commit 1800dde
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
23 changes: 12 additions & 11 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tests/AcquiaCliApplicationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ public function testClientUserAgent()
$expectedUserAgent = sprintf("%s/%s (https://github.com/typhonius/acquia_cli)", 'AcquiaCli', $version);

$actualOptions = $this->client->getOptions();
$actualUserAgent = $actualOptions['headers']['User-Agent'][0];
$actualUserAgent = $actualOptions['headers']['User-Agent'];
$this->assertSame($expectedUserAgent, $actualUserAgent);
}

Expand Down

0 comments on commit 1800dde

Please sign in to comment.