mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 03:36:18 +08:00
FIX: dashboard posts report was including posts in daily data, but not in totals
This commit is contained in:
@ -215,6 +215,7 @@ describe Report do
|
||||
post.topic.add_small_action(Fabricate(:admin), "invited_group", 'coolkids')
|
||||
r = Report.find('posts')
|
||||
expect(r.total).to eq(1)
|
||||
expect(r.data[0][:y]).to eq(1)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user