Remove magic number.
parent
9b1d9df868
commit
7db96f795a
|
@ -53,7 +53,7 @@ func TestParseConfig(t *testing.T) {
|
|||
t.Fatalf("admin assets mismatch: %v", c.Admin.Assets)
|
||||
}
|
||||
|
||||
if c.HTTPAPI.Port != 8086 {
|
||||
if c.HTTPAPI.Port != main.DefaultBrokerPort {
|
||||
t.Fatalf("http api port mismatch: %v", c.HTTPAPI.Port)
|
||||
} else if c.HTTPAPI.SSLPort != 8087 {
|
||||
t.Fatalf("http api ssl port mismatch: %v", c.HTTPAPI.SSLPort)
|
||||
|
|
Loading…
Reference in New Issue