mirror of
https://github.com/emqx/neuron.git
synced 2026-10-28 22:59:34 +08:00
del the test of mqtt in config
This commit is contained in:
@@ -11,16 +11,6 @@ TEST(JsonTest, DecodeField)
|
||||
EXPECT_STREQ("./", result);
|
||||
free(result);
|
||||
|
||||
result = neu_config_get_value((char *) "./neuron.yaml", 3, (char *) "mqtt",
|
||||
(char *) "broker", (char *) "host");
|
||||
EXPECT_STREQ("broker.emqx.io", result);
|
||||
free(result);
|
||||
|
||||
result = neu_config_get_value((char *) "./neuron.yaml", 3, (char *) "mqtt",
|
||||
(char *) "broker", (char *) "port");
|
||||
EXPECT_STREQ("1883", result);
|
||||
free(result);
|
||||
|
||||
result = neu_config_get_value((char *) "./neuron.yaml", 2, (char *) "web",
|
||||
(char *) "host");
|
||||
EXPECT_STREQ("0.0.0.0", result);
|
||||
|
||||
Reference in New Issue
Block a user