mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-19 14:53:45 +02:00
tests(integration): fix UserControllerTest
This commit is contained in:
@@ -77,8 +77,8 @@ class UserControllerTest extends ApplicationApiIntegrationTestCase
|
|||||||
'language' => $user->language,
|
'language' => $user->language,
|
||||||
'root_admin' => (bool) $user->root_admin,
|
'root_admin' => (bool) $user->root_admin,
|
||||||
'2fa' => (bool) $user->totp_enabled,
|
'2fa' => (bool) $user->totp_enabled,
|
||||||
'avatar_url' => $user->getApiUser()->avatarURL(),
|
'avatar_url' => $user->avatarURL(),
|
||||||
'role_name' => $user->getApiUser()->adminRoleName(),
|
'role_name' => $user->adminRoleName(),
|
||||||
'created_at' => $this->formatTimestamp($user->created_at),
|
'created_at' => $this->formatTimestamp($user->created_at),
|
||||||
'updated_at' => $this->formatTimestamp($user->updated_at),
|
'updated_at' => $this->formatTimestamp($user->updated_at),
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user