From 17c099161ee582e627a531bda1d84574d6a8c0f7 Mon Sep 17 00:00:00 2001 From: James Lopez Date: Wed, 18 Jan 2017 17:40:24 +0100 Subject: fix and refactor note user mapping --- spec/lib/gitlab/import_export/relation_factory_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'spec/lib/gitlab/import_export/relation_factory_spec.rb') 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 } -- cgit v1.2.3