tests: fix broken tests.

This commit is contained in:
evazion
2022-03-15 04:45:30 -05:00
parent 133c45ee29
commit 644dfaf74c
5 changed files with 11 additions and 7 deletions

View File

@@ -40,7 +40,7 @@ module Sources
end
def profile_url
"https://seiga.nicovideo.jp/user/illust/#{api_client.user_id}" if api_client.user_id.present?
"https://seiga.nicovideo.jp/user/illust/#{api_client.user_id}" if api_client&.user_id.present?
end
def artist_name