Fix undefined method log_geo_deleted_event for MergeRequestDiff

parent e5228347
...@@ -591,3 +591,5 @@ class MergeRequestDiff < ApplicationRecord ...@@ -591,3 +591,5 @@ class MergeRequestDiff < ApplicationRecord
end end
end end
end end
MergeRequestDiff.prepend_if_ee('EE::MergeRequestDiff')
# frozen_string_literal: true
module EE
module MergeRequestDiff
def log_geo_deleted_event
# Keep empty for now. Should be addressed in future
# by https://gitlab.com/gitlab-org/gitlab/issues/33817
end
end
end
# frozen_string_literal: true
require 'spec_helper'
describe MergeRequestDiff do
it { is_expected.to respond_to(:log_geo_deleted_event) }
end
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