Skip to content

Commit 50a7e19

Browse files
committed
Fix the access to API client.
1 parent 3f7d3d6 commit 50a7e19

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/SecretKeyTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,12 @@ public function testDelete()
5353

5454
public function testListEmpty()
5555
{
56-
$keys = $this->_client->secretKey()->getAll();
56+
$keys = static::$_client->secretKey()->getAll();
5757
foreach ($keys as $key) {
58-
$this->_client->secretKey()->delete($key->key);
58+
static::$_client->secretKey()->delete($key->key);
5959
}
6060

61-
$keys = $this->_client->secretKey()->getAll();
61+
$keys = static::$_client->secretKey()->getAll();
6262
$this->assertEquals(0, count($keys));
6363
}
6464
}

0 commit comments

Comments
 (0)