This commit is contained in:
Jan Eitzinger 2023-06-13 14:40:23 +02:00
parent 857ce637c0
commit 3766121aef

View File

@ -17,7 +17,7 @@ func TestInit(t *testing.T) {
} }
func TestInitMinimal(t *testing.T) { func TestInitMinimal(t *testing.T) {
fp := "../../docs/config.json" fp := "../../configs/config-demo.json"
Init(fp) Init(fp)
if Keys.Addr != "127.0.0.1:8080" { if Keys.Addr != "127.0.0.1:8080" {
t.Errorf("wrong addr\ngot: %s \nwant: 127.0.0.1:8080", Keys.Addr) t.Errorf("wrong addr\ngot: %s \nwant: 127.0.0.1:8080", Keys.Addr)