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