Skip to content

Commit

Permalink
EVEREST-107 linting
Browse files Browse the repository at this point in the history
  • Loading branch information
recharte committed Feb 21, 2025
1 parent 9d04c75 commit cac3a49
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions internal/controller/common/helper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
package common

import (
"context"
"testing"

"github.com/stretchr/testify/assert"
Expand Down Expand Up @@ -54,7 +53,7 @@ func TestGetOperatorVersion(t *testing.T) {
s := scheme.Scheme
s.AddKnownTypes(everestv1alpha1.GroupVersion, &everestv1alpha1.DatabaseCluster{})
version, err := GetOperatorVersion(
context.TODO(),
t.Context(),
cl,
types.NamespacedName{
Namespace: "super-x",
Expand All @@ -65,7 +64,7 @@ func TestGetOperatorVersion(t *testing.T) {
assert.NotEqual(t, "1.11.0", version.String())

_, err = GetOperatorVersion(
context.TODO(),
t.Context(),
cl,
types.NamespacedName{
Namespace: "non-existent",
Expand Down

0 comments on commit cac3a49

Please sign in to comment.