mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-08-16 16:41:03 +02:00
Fix pint issues
This commit is contained in:
@ -829,12 +829,12 @@ class TwoFAccountControllerTest extends FeatureTestCase
|
||||
'legacy_uri' => OtpTestData::TOTP_SHORT_URI,
|
||||
'icon' => 'icon.png',
|
||||
]);
|
||||
$twofaccount = TwoFAccount::factory()->for($this->user)->create($attributes);
|
||||
$twofaccount = TwoFAccount::factory()->for($this->user)->create($attributes);
|
||||
$attributes['icon'] = '';
|
||||
|
||||
$response = $this->actingAs($this->user, 'api-guard')
|
||||
->json('PUT', '/api/v1/twofaccounts/' . $twofaccount->id, $attributes);
|
||||
|
||||
|
||||
$this->assertNull($response->json('icon'));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user