Skip to content

Commit

Permalink
Import fake clock from testing library
Browse files Browse the repository at this point in the history
  • Loading branch information
deadlycoconuts committed Mar 12, 2024
1 parent 7eebc67 commit 5cbbc45
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/queue/work/batch_deployment_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"k8s.io/apimachinery/pkg/api/resource"
"k8s.io/utils/clock"
clock "k8s.io/utils/clock/testing"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion api/service/prediction_job_service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
"github.com/jinzhu/copier"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/mock"
"k8s.io/utils/clock"
clock "k8s.io/utils/clock/testing"

"github.com/caraml-dev/merlin/batch"
"github.com/caraml-dev/merlin/batch/mocks"
Expand Down

0 comments on commit 5cbbc45

Please sign in to comment.