Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2017-01-18 19:40:24 +0300
committerJames Lopez <james@jameslopez.es>2017-01-18 19:40:24 +0300
commit17c099161ee582e627a531bda1d84574d6a8c0f7 (patch)
tree0e11bae49c5666b1cef71d1900ed7a1b82a503b3 /spec/lib/gitlab/import_export/relation_factory_spec.rb
parentb3bb8dc46faf448d02e917586e7666143d7ab968 (diff)
fix and refactor note user mapping
Diffstat (limited to 'spec/lib/gitlab/import_export/relation_factory_spec.rb')
-rw-r--r--spec/lib/gitlab/import_export/relation_factory_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/lib/gitlab/import_export/relation_factory_spec.rb b/spec/lib/gitlab/import_export/relation_factory_spec.rb
index 4604e88b295..db0084d6823 100644
--- a/spec/lib/gitlab/import_export/relation_factory_spec.rb
+++ b/spec/lib/gitlab/import_export/relation_factory_spec.rb
@@ -128,7 +128,7 @@ describe Gitlab::ImportExport::RelationFactory, lib: true do
let(:new_user) { create(:user) }
let(:exported_member) do
{
- "id" => 999,
+ "id" => 111,
"access_level" => 30,
"source_id" => 1,
"source_type" => "Project",
@@ -137,7 +137,7 @@ describe Gitlab::ImportExport::RelationFactory, lib: true do
"created_at" => "2016-11-18T09:29:42.634Z",
"updated_at" => "2016-11-18T09:29:42.634Z",
"user" => {
- "id" => new_user.id,
+ "id" => 999,
"email" => new_user.email,
"username" => new_user.username
}