Skip to content

Commit

Permalink
Add reviews by project only if needed
Browse files Browse the repository at this point in the history
  • Loading branch information
danidoni committed Dec 18, 2024
1 parent ffdfbe7 commit a47615d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/api/spec/factories/bs_requests.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@
ret << build(:review, by_package: evaluator.review_by_package.name,
by_project: evaluator.review_by_package.project.name)
end
if evaluator.review_by_project
ret << build(:review, by_project: evaluator.review_by_project.name)
end
ret
end

Expand Down

0 comments on commit a47615d

Please sign in to comment.