mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	Remove hardcoded paths to fix randomly failing tests (#3347)
* Remove hardcoded paths to fix randomly failing tests * Use correct function for merge path
This commit is contained in:
		
				
					committed by
					
						
						Kim "BKC" Carlbäcker
					
				
			
			
				
	
			
			
			
						parent
						
							d8dff304c0
						
					
				
				
					commit
					be1330ec89
				
			@@ -215,6 +215,7 @@ var (
 | 
			
		||||
		// Repository local settings
 | 
			
		||||
		Local struct {
 | 
			
		||||
			LocalCopyPath string
 | 
			
		||||
			LocalWikiPath string
 | 
			
		||||
		} `ini:"-"`
 | 
			
		||||
	}{
 | 
			
		||||
		AnsiCharset:            "",
 | 
			
		||||
@@ -254,8 +255,10 @@ var (
 | 
			
		||||
		// Repository local settings
 | 
			
		||||
		Local: struct {
 | 
			
		||||
			LocalCopyPath string
 | 
			
		||||
			LocalWikiPath string
 | 
			
		||||
		}{
 | 
			
		||||
			LocalCopyPath: "tmp/local-repo",
 | 
			
		||||
			LocalWikiPath: "tmp/local-wiki",
 | 
			
		||||
		},
 | 
			
		||||
	}
 | 
			
		||||
	RepoRootPath string
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user