mirror of
https://github.com/flarum/core.git
synced 2025-08-04 15:37:51 +02:00
test: fix
This commit is contained in:
@@ -101,7 +101,7 @@ class DeleteTest extends TestCase
|
|||||||
$sessionToken = AccessToken::query()
|
$sessionToken = AccessToken::query()
|
||||||
->where('user_id', 1)
|
->where('user_id', 1)
|
||||||
->where('type', SessionAccessToken::$type)
|
->where('type', SessionAccessToken::$type)
|
||||||
->latest()
|
->latest('id')
|
||||||
->first();
|
->first();
|
||||||
|
|
||||||
$csrfToken = $responseWithSession->getHeaderLine('X-CSRF-Token');
|
$csrfToken = $responseWithSession->getHeaderLine('X-CSRF-Token');
|
||||||
|
Reference in New Issue
Block a user