mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-30 06:38:37 -04:00 
			
		
		
		
	Only git operations should update last changed of a repository (#34388)
				
					
				
			Try to fix #32046
This commit is contained in:
		| @@ -245,7 +245,7 @@ func TestDefaultWikiBranch(t *testing.T) { | ||||
| 	assert.NoError(t, wiki_service.ChangeDefaultWikiBranch(db.DefaultContext, repoWithNoWiki, "main")) | ||||
|  | ||||
| 	// repo with wiki | ||||
| 	assert.NoError(t, repo_model.UpdateRepositoryCols(db.DefaultContext, &repo_model.Repository{ID: 1, DefaultWikiBranch: "wrong-branch"})) | ||||
| 	assert.NoError(t, repo_model.UpdateRepositoryColsNoAutoTime(db.DefaultContext, &repo_model.Repository{ID: 1, DefaultWikiBranch: "wrong-branch"})) | ||||
|  | ||||
| 	ctx, _ := contexttest.MockContext(t, "user2/repo1/wiki") | ||||
| 	ctx.SetPathParam("*", "Home") | ||||
|   | ||||
		Reference in New Issue
	
	Block a user