mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 15:14:16 +08:00
minor style fix
This commit is contained in:
@ -250,7 +250,7 @@ describe UserAction do
|
|||||||
post.topic.toggle_star(post.user, true)
|
post.topic.toggle_star(post.user, true)
|
||||||
UserAction.delete_all
|
UserAction.delete_all
|
||||||
|
|
||||||
action1 = UserAction.log_action!(
|
UserAction.log_action!(
|
||||||
action_type: UserAction::STAR,
|
action_type: UserAction::STAR,
|
||||||
user_id: post.user.id,
|
user_id: post.user.id,
|
||||||
acting_user_id: post.user.id,
|
acting_user_id: post.user.id,
|
||||||
@ -258,7 +258,7 @@ describe UserAction do
|
|||||||
target_post_id: -1,
|
target_post_id: -1,
|
||||||
)
|
)
|
||||||
|
|
||||||
action2 = UserAction.log_action!(
|
UserAction.log_action!(
|
||||||
action_type: UserAction::STAR,
|
action_type: UserAction::STAR,
|
||||||
user_id: Fabricate(:user).id,
|
user_id: Fabricate(:user).id,
|
||||||
acting_user_id: post.user.id,
|
acting_user_id: post.user.id,
|
||||||
|
Reference in New Issue
Block a user