Skip to content

Commit

Permalink
Fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
vladbologa committed May 7, 2024
1 parent b713c4d commit 8de8f8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fleetshard/pkg/central/operator/upgrade_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,8 @@ func TestOperatorUpgradeFreshInstall(t *testing.T) {
err = fakeClient.Get(context.Background(), client.ObjectKey{Namespace: ACSOperatorNamespace, Name: operatorDeployment1.Name}, operatorDeployment1)
require.NoError(t, err)
containers := operatorDeployment1.Spec.Template.Spec.Containers
assert.Len(t, containers, 2)
managerContainer := containers[1]
assert.Len(t, containers, 1)
managerContainer := containers[0]
assert.Equal(t, managerContainer.Image, operatorImage1)
}

Expand Down

0 comments on commit 8de8f8c

Please sign in to comment.