mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 20:51:08 +08:00
Revert "FEATURE: admin/user exports are compressed using the zip format (#7784)"
This reverts commit 8b2580e20fc508f4e639210f7e64cbf096f95cfc.
This commit is contained in:
@ -51,10 +51,10 @@ describe Admin::ThemesController do
|
||||
expect(response.status).to eq(200)
|
||||
|
||||
# Save the output in a temp file (automatically cleaned up)
|
||||
file = Tempfile.new('archive.tar.zip')
|
||||
file = Tempfile.new('archive.tar.gz')
|
||||
file.write(response.body)
|
||||
file.rewind
|
||||
uploaded_file = Rack::Test::UploadedFile.new(file.path, "application/zip")
|
||||
uploaded_file = Rack::Test::UploadedFile.new(file.path, "application/x-gzip")
|
||||
|
||||
# Now import it again
|
||||
expect do
|
||||
|
Reference in New Issue
Block a user