diff options
author | Stan Hu <stanhu@gmail.com> | 2016-11-22 07:49:40 +0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2016-11-22 07:49:40 +0300 |
commit | 402cc95c1a1df8168467f74e21c6df7d48359714 (patch) | |
tree | f95e6b587a7e996fa81219b269c344a972e939bd /lib/gitlab/bitbucket_import | |
parent | 0b72994b63dbbbddaf0e77629249d92890a6e4a4 (diff) |
Fix Bitbucket importer spec to pass with 2.0 API
Diffstat (limited to 'lib/gitlab/bitbucket_import')
-rw-r--r-- | lib/gitlab/bitbucket_import/importer.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/gitlab/bitbucket_import/importer.rb b/lib/gitlab/bitbucket_import/importer.rb index 1f7a691e6dd..729b465e861 100644 --- a/lib/gitlab/bitbucket_import/importer.rb +++ b/lib/gitlab/bitbucket_import/importer.rb @@ -62,13 +62,6 @@ module Gitlab ) end end - - project.issues.create!( - description: body, - title: issue["title"], - state: %w(resolved invalid duplicate wontfix closed).include?(issue["status"]) ? 'closed' : 'opened', - author_id: gitlab_user_id(project, reporter) - ) end rescue ActiveRecord::RecordInvalid nil |