mirror of
https://github.com/flarum/framework.git
synced 2024-11-22 07:45:34 +08:00
test: fix
This commit is contained in:
parent
53de041194
commit
a5a1f6a9d2
|
@ -101,7 +101,7 @@ class DeleteTest extends TestCase
|
|||
$sessionToken = AccessToken::query()
|
||||
->where('user_id', 1)
|
||||
->where('type', SessionAccessToken::$type)
|
||||
->latest()
|
||||
->latest('id')
|
||||
->first();
|
||||
|
||||
$csrfToken = $responseWithSession->getHeaderLine('X-CSRF-Token');
|
||||
|
|
Loading…
Reference in New Issue
Block a user