mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FEATURE: Promote the "delete group" staff action log. (#16656)
We used to log group deletion as custom, which means we can't later search for them. Include group ID in the details.
This commit is contained in:
@@ -274,6 +274,7 @@ RSpec.describe Admin::GroupsController do
|
||||
|
||||
expect(history).to be_present
|
||||
expect(history.details).to include("name: #{group.name}")
|
||||
expect(history.details).to include("id: #{group.id}")
|
||||
end
|
||||
|
||||
it 'logs the grant_trust_level attribute' do
|
||||
|
||||
Reference in New Issue
Block a user