Fix unit tests

This commit is contained in:
2025-10-17 07:06:31 +02:00
parent 91f4475d76
commit 6efd6334bb
5 changed files with 16 additions and 22 deletions

View File

@@ -2,6 +2,7 @@
// All rights reserved. This file is part of cc-backend.
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
package repository
import (
@@ -28,7 +29,7 @@ func TestJobStats(t *testing.T) {
stats, err := r.JobsStats(getContext(t), []*model.JobFilter{filter})
noErr(t, err)
if stats[0].TotalJobs != 6 {
t.Fatalf("Want 98, Got %d", stats[0].TotalJobs)
if stats[0].TotalJobs != 544 {
t.Fatalf("Want 544, Got %d", stats[0].TotalJobs)
}
}