File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ public function setUp()
4747 // Delete all HMAC keys.
4848 $ this ->deleteAllHmacKeys ($ this ->hmacServiceAccount );
4949 // Create test key.
50- $ hmacKeyCreated = $ this ->storage ->createHmacKey ($ hmacServiceAccount , ['projectId ' => self ::$ projectId ]);
50+ $ hmacKeyCreated = $ this ->storage ->createHmacKey ($ this -> hmacServiceAccount , ['projectId ' => self ::$ projectId ]);
5151 $ this ->accessId = $ hmacKeyCreated ->hmacKey ()->accessId ();
5252 }
5353
@@ -57,9 +57,9 @@ public function tearDown()
5757 $ this ->deleteAllHmacKeys ($ this ->hmacServiceAccount );
5858 }
5959
60- private function deleteAllHmacKeys ($ hmacServiceAccount )
60+ private function deleteAllHmacKeys ($ serviceAccountEmail )
6161 {
62- $ hmacKeys = $ this ->storage ->hmacKeys ();
62+ $ hmacKeys = $ this ->storage ->hmacKeys ([ ' serviceAccountEmail ' => $ serviceAccountEmail ] );
6363 foreach ($ hmacKeys as $ hmacKey ) {
6464 $ hmacKey ->update ('INACTIVE ' );
6565 $ hmacKey ->delete ();
You can’t perform that action at this time.
0 commit comments