Commit 848a146f authored by James Lopez's avatar James Lopez Committed by Douglas Barbosa Alexandre

Fix import test

parent 0bfa39d5
......@@ -71,7 +71,9 @@ excluded_attributes:
- :awardable_id
methods:
labels:
project_labels:
- :type
label:
- :type
statuses:
- :type
......
......@@ -9,7 +9,8 @@ module Gitlab
builds: 'Ci::Build',
hooks: 'ProjectHook',
merge_access_levels: 'ProtectedBranch::MergeAccessLevel',
push_access_levels: 'ProtectedBranch::PushAccessLevel' }.freeze
push_access_levels: 'ProtectedBranch::PushAccessLevel',
labels: :project_labels }.freeze
USER_REFERENCES = %w[author_id assignee_id updated_by_id user_id].freeze
......@@ -19,7 +20,7 @@ module Gitlab
IMPORTED_OBJECT_MAX_RETRIES = 5.freeze
EXISTING_OBJECT_CHECK = %i[milestone milestones label labels].freeze
EXISTING_OBJECT_CHECK = %i[milestone milestones label labels project_label project_labels].freeze
FINDER_ATTRIBUTES = %w[title project_id].freeze
......
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