We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e816d23 commit b4c24d2Copy full SHA for b4c24d2
1 file changed
controllers/gitrepository_controller_test.go
@@ -525,7 +525,9 @@ func TestGitRepositoryReconciler_Reconcile_SkipNonGenericProviders(t *testing.T)
525
}
526
527
mockGitHubClient := &MockGitHubClient{}
528
- // ValidateRepositoryURL should NOT be called since provider check happens first
+ // ValidateRepositoryURL should NOT be called: non-generic providers are managed by Flux
529
+ // itself and do not use this controller's GitHub token management, so the provider check
530
+ // short-circuits before any URL validation.
531
532
reconciler := &GitRepositoryReconciler{
533
Client: fakeClient,
0 commit comments