Skip to content

Commit 552b73f

Browse files
committed
Merge branch 'feature/new-commands' of github.com:user-cube/cluster-bootstrap into feature/new-commands
2 parents 30653c0 + e66f5e0 commit 552b73f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cli/internal/k8s/secrets_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ func TestCreateRepoSSHSecret_Idempotent(t *testing.T) {
6565
// Verify the secret was updated
6666
updated, err := fakeClient.CoreV1().Secrets("argocd").Get(ctx, "repo-ssh-key", metav1.GetOptions{})
6767
require.NoError(t, err)
68-
assert.Equal(t, repoURL, updated.StringData["url"])
68+
assert.Equal(t, repoURL, string(updated.Data["url"]))
6969
})
7070
}
7171

@@ -221,7 +221,7 @@ func TestBootstrapIdempotence_Integration(t *testing.T) {
221221
// Verify final state
222222
secret, err := fakeClient.CoreV1().Secrets("argocd").Get(ctx, "repo-ssh-key", metav1.GetOptions{})
223223
require.NoError(t, err)
224-
assert.Equal(t, newRepoURL, secret.StringData["url"], "secret should have latest URL")
224+
assert.Equal(t, newRepoURL, string(secret.Data["url"]), "secret should have latest URL")
225225
}
226226

227227
// TestApplyAppOfApps_MultipleRuns ensures Apply is idempotent

0 commit comments

Comments
 (0)