Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bshaffer committed Feb 18, 2021
1 parent be83a85 commit b2042fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"require": {
"php": ">=7.1",
"firebase/php-jwt": "^5.2",
"guzzlehttp/guzzle": "^6.0|^7.0",
"guzzlehttp/guzzle": "^6.2|^7.0",
"guzzlehttp/psr7": "^1.2",
"psr/http-message": "^1.0",
"psr/cache": "^1.0"
Expand Down
2 changes: 1 addition & 1 deletion tests/Auth/Http/ClientFactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function testBuildsGuzzleClient()
$property->setAccessible(true);
$guzzleClient = $property->getValue($client);

if (constant(sprintf('%s::MAJOR_VERSION', get_class($guzzleClient)))) {
if (defined(sprintf('%s::MAJOR_VERSION', get_class($guzzleClient)))) {
// Assert Guzzle 7
$this->assertEquals(7, $guzzleClient::MAJOR_VERSION);
} else {
Expand Down

0 comments on commit b2042fd

Please sign in to comment.