mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
UTest: Fix utest fail for config
This commit is contained in:
parent
29cf13afa0
commit
d6064ac608
1 changed files with 2 additions and 2 deletions
|
@ -3575,8 +3575,8 @@ VOID TEST(ConfigMainTest, CheckVhostConfig5)
|
||||||
EXPECT_FALSE(conf.get_http_api_crossdomain());
|
EXPECT_FALSE(conf.get_http_api_crossdomain());
|
||||||
EXPECT_TRUE(conf.get_raw_api());
|
EXPECT_TRUE(conf.get_raw_api());
|
||||||
EXPECT_TRUE(conf.get_raw_api_allow_reload());
|
EXPECT_TRUE(conf.get_raw_api_allow_reload());
|
||||||
EXPECT_TRUE(conf.get_raw_api_allow_query());
|
EXPECT_FALSE(conf.get_raw_api_allow_query()); // Always disabled
|
||||||
EXPECT_TRUE(conf.get_raw_api_allow_update());
|
EXPECT_FALSE(conf.get_raw_api_allow_update()); // Always disabled
|
||||||
}
|
}
|
||||||
|
|
||||||
if (true) {
|
if (true) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue