Export and import hide_notifications
alongside user mutes (#10335)
* Export hide_notifications along with user mutes * Import hide_notifications along with muted users list * Add headers for CSV exports
This commit is contained in:
parent
daab45d4ae
commit
d4882aa64a
8 changed files with 121 additions and 13 deletions
|
@ -11,7 +11,7 @@ describe Settings::Exports::MutedAccountsController do
|
|||
sign_in user, scope: :user
|
||||
get :index, format: :csv
|
||||
|
||||
expect(response.body).to eq "username@domain\n"
|
||||
expect(response.body).to eq "Account address,Hide notifications\nusername@domain,true\n"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue