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

@@ -15,6 +15,10 @@ module Sources
url
end
def artists
ArtistFinder.find_artists(url)
end
def normalize_for_source
case url
when %r{\Ahttp://www\.karabako\.net/images(?:ub)?/karabako_(\d+)(?:_\d+)?\.}i