Commit ac3e9c2a authored by Oswaldo Ferreira's avatar Oswaldo Ferreira

Remove "reference" from ListService issues

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