Commit 6e54c143 authored by Kamil Trzciński's avatar Kamil Trzciński

Align usage of project_import_ndjson

Currently the `project_import_ndjson` is `default_enabled: true`.
Ensure that this holds true everywhere.
parent e4b819ca
......@@ -19,7 +19,7 @@ module ImportExport
end
def setup_reader(reader)
if reader == :ndjson_reader && Feature.enabled?(:project_import_ndjson)
if reader == :ndjson_reader && Feature.enabled?(:project_import_ndjson, default_enabled: true)
allow_any_instance_of(Gitlab::ImportExport::JSON::LegacyReader::File).to receive(:exist?).and_return(false)
allow_any_instance_of(Gitlab::ImportExport::JSON::NdjsonReader).to receive(:exist?).and_return(true)
else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment