mirror of
https://github.com/flarum/core.git
synced 2025-08-03 23:17:43 +02:00
test: fix
This commit is contained in:
@@ -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');
|
||||
|
Reference in New Issue
Block a user