tests(integration): fix UserControllerTest

This commit is contained in:
Matthew Penner 2021-03-05 09:18:50 -07:00
parent 350ef1aba5
commit 00c42225e8

View file

@ -77,8 +77,8 @@ class UserControllerTest extends ApplicationApiIntegrationTestCase
'language' => $user->language,
'root_admin' => (bool) $user->root_admin,
'2fa' => (bool) $user->totp_enabled,
'avatar_url' => $user->getApiUser()->avatarURL(),
'role_name' => $user->getApiUser()->adminRoleName(),
'avatar_url' => $user->avatarURL(),
'role_name' => $user->adminRoleName(),
'created_at' => $this->formatTimestamp($user->created_at),
'updated_at' => $this->formatTimestamp($user->updated_at),
],