Commit ac3e9c2a authored by Oswaldo Ferreira's avatar Oswaldo Ferreira

Remove "reference" from ListService issues

parent 08492fdc
...@@ -12,7 +12,6 @@ module RelatedIssues ...@@ -12,7 +12,6 @@ module RelatedIssues
title: referenced_issue.title, title: referenced_issue.title,
iid: referenced_issue.iid, iid: referenced_issue.iid,
state: referenced_issue.state, state: referenced_issue.state,
reference: referenced_issue.to_reference(@issue.project),
project_full_path: referenced_issue.project.full_path, project_full_path: referenced_issue.project.full_path,
namespace_full_path: referenced_issue.project.namespace.full_path, namespace_full_path: referenced_issue.project.namespace.full_path,
path: namespace_project_issue_path(referenced_issue.project.namespace, referenced_issue.project, referenced_issue.iid), path: namespace_project_issue_path(referenced_issue.project.namespace, referenced_issue.project, referenced_issue.iid),
......
...@@ -48,7 +48,6 @@ describe RelatedIssues::ListService, service: true do ...@@ -48,7 +48,6 @@ describe RelatedIssues::ListService, service: true do
title: issue_b.title, title: issue_b.title,
iid: issue_b.iid, iid: issue_b.iid,
state: issue_b.state, state: issue_b.state,
reference: issue_b.to_reference(project),
path: "/#{project.full_path}/issues/#{issue_b.iid}", path: "/#{project.full_path}/issues/#{issue_b.iid}",
project_full_path: issue_b.project.full_path, project_full_path: issue_b.project.full_path,
namespace_full_path: issue_b.project.namespace.full_path, namespace_full_path: issue_b.project.namespace.full_path,
...@@ -61,7 +60,6 @@ describe RelatedIssues::ListService, service: true do ...@@ -61,7 +60,6 @@ describe RelatedIssues::ListService, service: true do
title: issue_c.title, title: issue_c.title,
iid: issue_c.iid, iid: issue_c.iid,
state: issue_c.state, state: issue_c.state,
reference: issue_c.to_reference(project),
path: "/#{project.full_path}/issues/#{issue_c.iid}", path: "/#{project.full_path}/issues/#{issue_c.iid}",
project_full_path: issue_c.project.full_path, project_full_path: issue_c.project.full_path,
namespace_full_path: issue_c.project.namespace.full_path, namespace_full_path: issue_c.project.namespace.full_path,
...@@ -74,7 +72,6 @@ describe RelatedIssues::ListService, service: true do ...@@ -74,7 +72,6 @@ describe RelatedIssues::ListService, service: true do
title: issue_d.title, title: issue_d.title,
iid: issue_d.iid, iid: issue_d.iid,
state: issue_d.state, state: issue_d.state,
reference: issue_d.to_reference(project),
path: "/#{project.full_path}/issues/#{issue_d.iid}", path: "/#{project.full_path}/issues/#{issue_d.iid}",
project_full_path: issue_d.project.full_path, project_full_path: issue_d.project.full_path,
namespace_full_path: issue_d.project.namespace.full_path, namespace_full_path: issue_d.project.namespace.full_path,
......
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