mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 11:53:38 +08:00
remove unneeded variable assignment
This commit is contained in:
parent
b5bf182ad5
commit
0ee822c550
|
@ -93,7 +93,7 @@ RSpec.describe Admin::FlagsController do
|
|||
SiteSetting.queue_jobs = false
|
||||
category.update_column(:topic_id, first_post.topic_id)
|
||||
|
||||
post_action = PostAction.act(user, first_post, PostActionType.types[:spam], message: 'bad')
|
||||
PostAction.act(user, first_post, PostActionType.types[:spam], message: 'bad')
|
||||
|
||||
post "/admin/flags/agree/#{first_post.id}.json", params: { action_on_post: 'delete' }
|
||||
expect(response.status).to eq(403)
|
||||
|
|
Loading…
Reference in New Issue
Block a user