mirror of
				https://github.com/optim-enterprises-bv/vault.git
				synced 2025-10-31 10:37:56 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			40 lines
		
	
	
		
			643 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			40 lines
		
	
	
		
			643 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| // +build !enterprise
 | |
| 
 | |
| package server
 | |
| 
 | |
| import (
 | |
| 	"testing"
 | |
| )
 | |
| 
 | |
| func TestLoadConfigFile(t *testing.T) {
 | |
| 	testLoadConfigFile(t)
 | |
| }
 | |
| 
 | |
| func TestLoadConfigFile_topLevel(t *testing.T) {
 | |
| 	testLoadConfigFile_topLevel(t, nil)
 | |
| }
 | |
| 
 | |
| func TestLoadConfigFile_json(t *testing.T) {
 | |
| 	testLoadConfigFile_json(t)
 | |
| }
 | |
| 
 | |
| func TestLoadConfigFile_json2(t *testing.T) {
 | |
| 	testLoadConfigFile_json2(t, nil)
 | |
| }
 | |
| 
 | |
| func TestLoadConfigDir(t *testing.T) {
 | |
| 	testLoadConfigDir(t)
 | |
| }
 | |
| 
 | |
| func TestConfig_Sanitized(t *testing.T) {
 | |
| 	testConfig_Sanitized(t)
 | |
| }
 | |
| 
 | |
| func TestParseListeners(t *testing.T) {
 | |
| 	testParseListeners(t)
 | |
| }
 | |
| 
 | |
| func TestParseEntropy(t *testing.T) {
 | |
| 	testParseEntropy(t, true)
 | |
| }
 | 
