mirror of
https://github.com/discourse/discourse.git
synced 2025-03-22 08:35:31 +08:00
Topic Statuses need to be updated by those who have access. I have self flaggelated
as punishment for checking in broken specs before running out earlier.
This commit is contained in:
parent
621c89d396
commit
a0867bff24
@ -543,6 +543,7 @@ describe Topic do
|
|||||||
@topic.reload
|
@topic.reload
|
||||||
@original_bumped_at = @topic.bumped_at.to_f
|
@original_bumped_at = @topic.bumped_at.to_f
|
||||||
@user = @topic.user
|
@user = @topic.user
|
||||||
|
@user.admin = true
|
||||||
end
|
end
|
||||||
|
|
||||||
context 'visibility' do
|
context 'visibility' do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user