File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -431,19 +431,19 @@ func TestGitRepositoryReconciler_reconcileSource_authStrategy(t *testing.T) {
431
431
}
432
432
433
433
for _ , tt := range tests {
434
- obj := & sourcev1.GitRepository {
435
- ObjectMeta : metav1.ObjectMeta {
436
- GenerateName : "auth-strategy-" ,
437
- },
438
- Spec : sourcev1.GitRepositorySpec {
439
- Interval : metav1.Duration {Duration : interval },
440
- Timeout : & metav1.Duration {Duration : timeout },
441
- },
442
- }
443
-
444
434
t .Run (tt .name , func (t * testing.T ) {
445
435
g := NewWithT (t )
446
436
437
+ obj := & sourcev1.GitRepository {
438
+ ObjectMeta : metav1.ObjectMeta {
439
+ GenerateName : "auth-strategy-" ,
440
+ },
441
+ Spec : sourcev1.GitRepositorySpec {
442
+ Interval : metav1.Duration {Duration : interval },
443
+ Timeout : & metav1.Duration {Duration : timeout },
444
+ },
445
+ }
446
+
447
447
server , err := gittestserver .NewTempGitServer ()
448
448
g .Expect (err ).NotTo (HaveOccurred ())
449
449
defer os .RemoveAll (server .Root ())
You can’t perform that action at this time.
0 commit comments