Commit 2efd6406 authored by Jiri Strojil's avatar Jiri Strojil

Fixed test

parent 71c3aca8
Pipeline #33470 failed with stage
in 34 minutes and 57 seconds
......@@ -136,7 +136,7 @@ class PerformanceReport < ApplicationRecord
started_ga = group_assignments.start_within(*periods)
ended_ga = group_assignments.end_within(*periods)
created_ga = group_assignments.created_between(*periods)
feedbacks = SemesterFeedback.created_between(*periods).from_group_offers(group_offers.ids)
feedbacks = SemesterFeedback.created_between(*periods).where.not(group_assignment: nil)
{
all: group_offers.count,
created: group_offers.created_after(periods.first).count,
......
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