diff --git a/tests/unit_tests/test_tethys_services/test_backends/test_hydroshare.py b/tests/unit_tests/test_tethys_services/test_backends/test_hydroshare.py index 16c988108..1475a18f3 100644 --- a/tests/unit_tests/test_tethys_services/test_backends/test_hydroshare.py +++ b/tests/unit_tests/test_tethys_services/test_backends/test_hydroshare.py @@ -54,11 +54,18 @@ def test_extra_data(self): scope="scope", ) + mock_details = dict( + name="", + alias="", + ) + hydro_share_auth2_obj = HydroShareOAuth2() hydro_share_auth2_obj.set_expires_in_to = 100 - ret = hydro_share_auth2_obj.extra_data("user1", "0001-009", mock_response) + ret = hydro_share_auth2_obj.extra_data( + "user1", "0001-009", mock_response, mock_details + ) self.assertEqual("foo@gmail.com", ret["email"]) self.assertEqual("token1", ret["access_token"])