mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 15:28:37 +08:00
FIX: Do not test bookmark rate limiter message (#11749)
* the time can be a little off so it is not consistently exactly 24 hours
This commit is contained in:
@ -29,9 +29,6 @@ describe BookmarksController do
|
||||
post_id: Fabricate(:post).id
|
||||
}
|
||||
expect(response.status).to eq(429)
|
||||
expect(response.parsed_body['errors']).to include(
|
||||
I18n.t("rate_limiter.by_type.create_bookmark", time_left: "24 hours")
|
||||
)
|
||||
end
|
||||
|
||||
context "if the user reached the max bookmark limit" do
|
||||
|
Reference in New Issue
Block a user