Skip to content

Commit

Permalink
fix failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mraron committed Apr 9, 2024
1 parent 1f567e8 commit 8ce73aa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/glue/glue_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ import (
"github.com/mraron/njudge/pkg/problems"
"github.com/stretchr/testify/assert"
"github.com/volatiletech/null/v8"
"io"
"log/slog"
"testing"
"time"
)
Expand Down Expand Up @@ -196,6 +198,7 @@ func TestGlue_ProcessSubmission(t *testing.T) {
t.Run(tt.name, func(t *testing.T) {
g := &glue.Glue{
Judge: tt.fields.Judge,
Logger: slog.New(slog.NewJSONHandler(io.Discard, nil)),
Submissions: tt.fields.Submissions,
Problems: tt.fields.Problems,
SubmissionsQuery: memory.NewSubmissionsQuery(tt.fields.Submissions),
Expand Down

0 comments on commit 8ce73aa

Please sign in to comment.