Remove magic number.

pull/1280/head
Ben Johnson 2014-12-31 13:50:34 -07:00
parent 9b1d9df868
commit 7db96f795a
1 changed files with 1 additions and 1 deletions

View File

@ -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)