mirror of
				https://github.com/ClusterCockpit/cc-backend
				synced 2025-11-04 01:25:06 +01:00 
			
		
		
		
	Fix unit test
This commit is contained in:
		@@ -19,7 +19,7 @@ func TestInit(t *testing.T) {
 | 
				
			|||||||
func TestInitMinimal(t *testing.T) {
 | 
					func TestInitMinimal(t *testing.T) {
 | 
				
			||||||
	fp := "../../docs/config.json"
 | 
						fp := "../../docs/config.json"
 | 
				
			||||||
	Init(fp)
 | 
						Init(fp)
 | 
				
			||||||
	if Keys.Addr != "0.0.0.0:8080" {
 | 
						if Keys.Addr != "127.0.0.1:8080" {
 | 
				
			||||||
		t.Errorf("wrong addr\ngot: %s \nwant: 0.0.0.0:8080", Keys.Addr)
 | 
							t.Errorf("wrong addr\ngot: %s \nwant: 127.0.0.1:8080", Keys.Addr)
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user