File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 16
16
"guzzlehttp/psr7" : " ^2.6"
17
17
},
18
18
"require-dev" : {
19
- "google/auth" : " ^1.41.0" ,
20
19
"squizlabs/php_codesniffer" : " ^3.8" ,
21
20
"symfony/dom-crawler" : " ~2.1" ,
22
21
"symfony/css-selector" : " ~2.1" ,
Original file line number Diff line number Diff line change @@ -715,8 +715,9 @@ public function testOnGceCacheAndCacheOptions()
715
715
->shouldBeCalledTimes (1 )
716
716
->willReturn ($ mockCacheItem ->reveal ());
717
717
// cache key from GCECredentials::getTokenUri() . 'universe_domain'
718
- $ mockCache ->getItem ('cc685e3a0717258b6a4cefcb020e96de6bcf904e76fd9fc1647669f42deff9bf ' )
719
- ->shouldBeCalledTimes (1 )
718
+ $ mockCache ->getItem ('cc685e3a0717258b6a4cefcb020e96de6bcf904e76fd9fc1647669f42deff9bf ' ) // google/auth < 1.41.0
719
+ ->willReturn ($ mockUniverseDomainCacheItem ->reveal ());
720
+ $ mockCache ->getItem (GCECredentials::cacheKey . 'universe_domain ' ) // google/auth >= 1.41.0
720
721
->willReturn ($ mockUniverseDomainCacheItem ->reveal ());
721
722
722
723
$ client = new Client (['cache_config ' => $ cacheConfig ]);
You can’t perform that action at this time.
0 commit comments