fix patronit_test.go

This commit is contained in:
Felix Kunde 2022-03-28 11:30:07 +02:00
parent 4d25217777
commit 4b893f9267
1 changed files with 3 additions and 3 deletions

View File

@ -36,17 +36,17 @@ func TestApiURL(t *testing.T) {
}{ }{
{ {
"127.0.0.1", "127.0.0.1",
fmt.Sprintf("http://127.0.0.1:%d", apiPort), fmt.Sprintf("http://127.0.0.1:%d", ApiPort),
nil, nil,
}, },
{ {
"0000:0000:0000:0000:0000:0000:0000:0001", "0000:0000:0000:0000:0000:0000:0000:0001",
fmt.Sprintf("http://[::1]:%d", apiPort), fmt.Sprintf("http://[::1]:%d", ApiPort),
nil, nil,
}, },
{ {
"::1", "::1",
fmt.Sprintf("http://[::1]:%d", apiPort), fmt.Sprintf("http://[::1]:%d", ApiPort),
nil, nil,
}, },
{ {