@@ -373,14 +373,14 @@ func TestTrustedSSHKeys(t *testing.T) {
373373
374374 username := "user2"
375375 testCtx := NewAPITestContext (t , username , "repo-test-trusted-ssh-keys" , auth_model .AccessTokenScopeWriteRepository , auth_model .AccessTokenScopeWriteUser )
376- t .Run ("CheckMainBranchSignedVerified " , doAPIGetBranch (testCtx , "main " , func (t * testing.T , branch api.Branch ) {
376+ t .Run ("CheckMasterBranchSignedVerified " , doAPIGetBranch (testCtx , "master " , func (t * testing.T , branch api.Branch ) {
377377 require .NotNil (t , branch .Commit , "no commit provided with branch! %v" , branch )
378378 require .NotNil (t , branch .Commit .Verification , "no verification provided with branch commit! %v" , branch .Commit )
379379 require .True (t , branch .Commit .Verification .Verified )
380380 }))
381381
382382 setting .Repository .Signing .TrustedSSHKeys = []string {}
383- t .Run ("CheckMainBranchSignedUnverified " , doAPIGetBranch (testCtx , "main " , func (t * testing.T , branch api.Branch ) {
383+ t .Run ("CheckMasterBranchSignedUnverified " , doAPIGetBranch (testCtx , "master " , func (t * testing.T , branch api.Branch ) {
384384 require .NotNil (t , branch .Commit , "no commit provided with branch! %v" , branch )
385385 require .NotNil (t , branch .Commit .Verification , "no verification provided with branch commit! %v" , branch .Commit )
386386 require .False (t , branch .Commit .Verification .Verified )
0 commit comments