Fix pint issues

This commit is contained in:
Bubka
2024-11-27 11:37:14 +01:00
parent e7ad0df6a3
commit 1fdedddd6b
5 changed files with 3 additions and 12 deletions

View File

@ -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'));
}