mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-08-19 09:51:35 +02:00
Fix tests
This commit is contained in:
@@ -593,7 +593,8 @@ class UserManagerControllerTest extends FeatureTestCase
|
||||
->json('GET', '/api/v1/users/' . $this->user->id . '/authentications')
|
||||
->assertJsonCount(1);
|
||||
|
||||
$this->assertEquals($response->getData()[0]->id, $this->user->id);
|
||||
$userAuthLog = AuthLog::find($response->getData()[0]->id);
|
||||
$this->assertEquals($userAuthLog->authenticatable_id, $this->user->id);
|
||||
}
|
||||
|
||||
#[Test]
|
||||
|
Reference in New Issue
Block a user