mirror of
https://codeberg.org/demostf/api.git
synced 2026-06-03 09:54:17 +02:00
cleaner tokens
This commit is contained in:
parent
a1a9504f11
commit
7a6ff09eee
2 changed files with 14 additions and 15 deletions
|
|
@ -36,11 +36,9 @@ class UserProviderTest extends TestCase {
|
|||
}
|
||||
|
||||
public function testByKey() {
|
||||
$this->provider->store($this->steamId);
|
||||
$token = $this->provider->store($this->steamId);
|
||||
|
||||
$user = $this->provider->get('76561198024494988');
|
||||
|
||||
$byKey = $this->provider->byKey($user['token']);
|
||||
$byKey = $this->provider->byKey($token);
|
||||
$this->assertEquals('76561198024494988', $byKey['steamid']);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue