From 00c42225e8efa4c14305892bbb8745bbc9b6def7 Mon Sep 17 00:00:00 2001 From: Matthew Penner Date: Fri, 5 Mar 2021 09:18:50 -0700 Subject: [PATCH] tests(integration): fix UserControllerTest --- .../Integration/Api/Application/Users/UserControllerTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Integration/Api/Application/Users/UserControllerTest.php b/tests/Integration/Api/Application/Users/UserControllerTest.php index 8b2bc28c7..d35b73026 100644 --- a/tests/Integration/Api/Application/Users/UserControllerTest.php +++ b/tests/Integration/Api/Application/Users/UserControllerTest.php @@ -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), ],