def test_unsuccessful_get_account_by_user_id(self):
        """
        Test that requesting using lms user id by a normal user fails to retrieve Account Info.
        """
        api_client = "client"
        user = "user"
        url = reverse("accounts_detail_api")
        client = self.login_client(api_client, user)
        self.create_mock_profile(self.user)
        set_user_preference(self.user, ACCOUNT_VISIBILITY_PREF_KEY, PRIVATE_VISIBILITY)

        response = client.get(url + f'?lms_user_id={self.user.id}')
        assert response.status_code == status.HTTP_403_FORBIDDEN
        assert response.data.get('detail') == 'You do not have permission to perform this action.'