mirror of
https://github.com/elyby/accounts.git
synced 2025-05-31 14:11:46 +05:30
Add tests for the legacy tokens
This commit is contained in:
16
common/tests/fixtures/data/legacy-oauth-access-tokens.php
vendored
Normal file
16
common/tests/fixtures/data/legacy-oauth-access-tokens.php
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
use Carbon\Carbon;
|
||||
|
||||
return [
|
||||
'ZZQP8sS9urzriy8N9h6FwFNMOH3PkZ5T5PLqS6SX' => [
|
||||
'id' => 'ZZQP8sS9urzriy8N9h6FwFNMOH3PkZ5T5PLqS6SX',
|
||||
'session_id' => 1,
|
||||
'expire_time' => Carbon::now()->addHour()->getTimestamp(),
|
||||
],
|
||||
'rc0sOF1SLdOxuD3bJcCQENmGTeYrGgy12qJScMx4' => [
|
||||
'id' => 'rc0sOF1SLdOxuD3bJcCQENmGTeYrGgy12qJScMx4',
|
||||
'session_id' => 1,
|
||||
'expire_time' => Carbon::now()->subHour()->getTimestamp(),
|
||||
],
|
||||
];
|
||||
Reference in New Issue
Block a user