tests: fix broken tests.

This commit is contained in:
evazion
2021-11-23 23:18:39 -06:00
parent 810f0b5d6b
commit 594b46a85d
2 changed files with 2 additions and 2 deletions

View File

@@ -69,7 +69,7 @@ class PostsControllerTest < ActionDispatch::IntegrationTest
should "render the second page" do
get posts_path(page: 2, limit: 1)
assert_response :success
assert_canonical_url_equals(posts_url(page: 2, host: Danbooru.config.hostname))
assert_canonical_url_equals(posts_url(page: 2, limit: 1, host: Danbooru.config.hostname))
end
end

View File

@@ -125,7 +125,7 @@ module Sources
assert_equal(%w[
https://media.tumblr.com/afed9f5b3c33c39dc8c967e262955de2/tumblr_orwwptNBCE1wsfqepo1_1280.png
https://media.tumblr.com/7c4d2c6843466f92c3dd0516e749ec35/tumblr_orwwptNBCE1wsfqepo2_1280.jpg
https://media.tumblr.com/d2ed224f135b0c81f812df81a0a8692d/tumblr_orwwptNBCE1wsfqepo3_640.gif
https://media.tumblr.com/d2ed224f135b0c81f812df81a0a8692d/tumblr_orwwptNBCE1wsfqepo3_1280.gif
https://media.tumblr.com/3bbfcbf075ddf969c996641b264086fd/tumblr_inline_os3134mABB1v11u29_1280.png
https://media.tumblr.com/34ed9d0ff4a21625981372291cb53040/tumblr_nv3hwpsZQY1uft51jo1_1280.gif
], site.image_urls)