// The function creates a report as if we have already commited to it at least once and finished it
// (i.e., report.Finished and report.Updated are already set, report has Statistics, etc.)
// This is needed for mock-tests.
func NewReportWithNoProblems() *models.Report {
	report := new(models.Report)
	report.Name = "Report With No Problems"
	Created = time.Date(2015, 11, 01, 14, 55, 13, 0, time.Local)
	report.Created = &Created
	Updated = time.Date(2015, 11, 02, 14, 55, 13, 0, time.Local)
	report.Updated = &Updated
	Finished = time.Date(2015, 11, 02, 21, 00, 00, 0, time.Local)
	report.Finished = &Finished
	report.Error = ""
	report.Problems = EmptyProblemList
	report.Statistics = StatsForReportWithNoProblems
	return report
}
// The function creates a report as if we have already commited to it at least once and finished it
// (i.e., report.Finished and report.Updated are already set, report has Statistics, etc.)
// This is needed for mock-tests.
func NewReportWithSomeProblems() *models.Report {
	report := new(models.Report)
	report.Name = "Report With Some Problems"
	Created = time.Date(2016, time.January, 13, 12, 10, 00, 00, time.UTC)
	report.Created = &Created
	Updated = time.Date(2016, time.January, 12, 12, 10, 00, 00, time.UTC)
	report.Updated = &Updated
	Finished = time.Date(2016, time.January, 12, 18, 00, 00, 00, time.UTC)
	report.Finished = &Finished
	report.Problems = Problems
	report.Error = ""
	report.Statistics = StatsForReportWithSomeProblems
	return report

}