mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-12-26 13:29:05 +01:00
Fix test
This commit is contained in:
parent
857ce637c0
commit
3766121aef
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user