Skip to content

Commit

Permalink
Add scope to method call
Browse files Browse the repository at this point in the history
  • Loading branch information
Frank Natividad committed Aug 27, 2019
1 parent eceb508 commit 8a4dcc2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions storage/test/HmacCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public function setUp()
$this->storage = new StorageClient();
$this->hmacServiceAccount = self::$projectId . '@appspot.gserviceaccount.com';
// Delete all HMAC keys.
deleteAllHmacKeys($this->hmacServiceAccount);
$this->deleteAllHmacKeys($this->hmacServiceAccount);
// Create test key.
$hmacKeyCreated = $this->storage->createHmacKey($hmacServiceAccount, ['projectId' => self::$projectId]);
$this->accessId = $hmacKeyCreated->hmacKey()->accessId();
Expand All @@ -54,7 +54,7 @@ public function setUp()
public function tearDown()
{
// Delete all HMAC keys.
deleteAllHmacKeys($this->hmacServiceAccount);
$this->deleteAllHmacKeys($this->hmacServiceAccount);
}

private function deleteAllHmacKeys($hmacServiceAccount)
Expand Down

0 comments on commit 8a4dcc2

Please sign in to comment.