Skip to content

Commit

Permalink
(backport) don't run migrate templates in test env
Browse files Browse the repository at this point in the history
  • Loading branch information
caitmich committed Jun 19, 2024
1 parent a843e04 commit 5a18f7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/initializers/z_11_plugin_templates.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
if Mapping.table_exists?
Dradis::Plugins::with_feature(:upload).each do |integration|
integration.copy_samples(to: template_dir)
integration.migrate_templates_to_mappings(from: template_dir)
integration.migrate_templates_to_mappings(from: template_dir) if !Rails.env.test?
end
end

Expand Down

0 comments on commit 5a18f7c

Please sign in to comment.