mirror of
				https://github.com/photoprism/photoprism.git
				synced 2025-10-31 12:16:39 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			294 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			294 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| package hub
 | |
| 
 | |
| import (
 | |
| 	"testing"
 | |
| 
 | |
| 	"github.com/stretchr/testify/assert"
 | |
| )
 | |
| 
 | |
| func TestConfig_MapKey(t *testing.T) {
 | |
| 	t.Run("success", func(t *testing.T) {
 | |
| 		c := NewConfig("0.0.0", "testdata/new.yml", "zqkunt22r0bewti9", "test", "PhotoPrism/Test", "test")
 | |
| 		assert.Equal(t, "", c.MapKey())
 | |
| 	})
 | |
| }
 | 
