Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
Signed-off-by: Pavol Loffay <[email protected]>
  • Loading branch information
pavolloffay committed Feb 21, 2022
1 parent deb93ad commit 77b89b0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions apis/v1/jaeger_webhook_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,6 @@ func TestValidate(t *testing.T) {
name string
objsToCreate []runtime.Object
current *Jaeger
old *Jaeger
err string
}{
{
Expand Down Expand Up @@ -221,7 +220,7 @@ func TestValidate(t *testing.T) {
fakeCl := fake.NewClientBuilder().WithRuntimeObjects(test.objsToCreate...).Build()
cl = fakeCl

err := test.current.ValidateUpdate(test.old)
err := test.current.ValidateCreate()
if test.err != "" {
assert.Equal(t, test.err, err.Error())
} else {
Expand Down

0 comments on commit 77b89b0

Please sign in to comment.