mirror of
				https://codeberg.org/forgejo/forgejo.git
				synced 2025-10-31 14:31:02 +00:00 
			
		
		
		
	(cherry picked from commit0dd74d09d3) (cherry picked from commit28d2d9b212) (cherry picked from commit3c3db1ff0f) (cherry picked from commit79bbbe2dd2) (cherry picked from commita4050eb6b1) (cherry picked from commitd8fac17bbe) (cherry picked from commit1220a8e015) (cherry picked from commite0beae09f0) (cherry picked from commite4bf15eb95) (cherry picked from commita6a4faf9c4)
		
			
				
	
	
		
			23 lines
		
	
	
	
		
			548 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
	
		
			548 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| // Copyright 2023 The Gitea Authors. All rights reserved.
 | |
| // SPDX-License-Identifier: MIT
 | |
| 
 | |
| package storage
 | |
| 
 | |
| import (
 | |
| 	"testing"
 | |
| 
 | |
| 	"code.gitea.io/gitea/modules/setting"
 | |
| )
 | |
| 
 | |
| func TestMinioStorageIterator(t *testing.T) {
 | |
| 	t.Skip("minio not found in Forgejo test yet")
 | |
| 	testStorageIterator(t, setting.MinioStorageType, &setting.Storage{
 | |
| 		MinioConfig: setting.MinioStorageConfig{
 | |
| 			Endpoint:        "127.0.0.1:9000",
 | |
| 			AccessKeyID:     "123456",
 | |
| 			SecretAccessKey: "12345678",
 | |
| 			Bucket:          "gitea",
 | |
| 			Location:        "us-east-1",
 | |
| 		},
 | |
| 	})
 | |
| }
 |