tests: fix broken upload tests.
* Fix broken Skeb test caused by 404'd image. * Fix broken Sta.sh tests caused by DeviantArt URL changes. * Fix broken Nijie tests caused by Nijie URL changes.
This commit is contained in:
@@ -19,7 +19,7 @@ module Sources
|
||||
|
||||
assert_equal("https://sta.sh/0wxs31o7nn2", @site.page_url)
|
||||
assert_equal("https://sta.sh/0wxs31o7nn2", @site.canonical_url)
|
||||
assert_match(%r!\Ahttps://api-da\.wixmp\.com/_api/download/file\?downloadToken=!, @site.image_url)
|
||||
assert_match("https://wixmp-ed30a86b8c4ca887773594c2.wixmp.com/f/83d3eb4d-13e5-4aea-a08f-8d4331d033c4/dcmga0s-a345a815-2436-4ab5-8941-492011e1bff6.png", @site.image_url)
|
||||
end
|
||||
end
|
||||
|
||||
@@ -36,7 +36,7 @@ module Sources
|
||||
|
||||
assert_equal("https://sta.sh/0wxs31o7nn2", @site.page_url)
|
||||
assert_equal("https://sta.sh/0wxs31o7nn2", @site.canonical_url)
|
||||
assert_match(%r!\Ahttps://api-da\.wixmp\.com/_api/download/file\?downloadToken=!, @site.image_url)
|
||||
assert_match("https://wixmp-ed30a86b8c4ca887773594c2.wixmp.com/f/83d3eb4d-13e5-4aea-a08f-8d4331d033c4/dcmga0s-a345a815-2436-4ab5-8941-492011e1bff6.png", @site.image_url)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user