diff --git a/src/gz_TEST.cc b/src/gz_TEST.cc index f60219ba..b3c6c6d5 100644 --- a/src/gz_TEST.cc +++ b/src/gz_TEST.cc @@ -98,7 +98,7 @@ TEST(CmdLine, IGN_UTILS_TEST_ENABLED_ONLY_ON_LINUX(ListFail)) TEST(CmdLine, IGN_UTILS_TEST_ENABLED_ONLY_ON_LINUX(ModelListConfigServerUgly)) { - auto output = custom_exec_str(g_listCmd + " -t model --raw"); + auto output = custom_exec_str(g_listCmd + " -t model --raw -u 'https://fuel.gazebosim.org' -o openrobotics"); EXPECT_NE(output.find("https://fuel.gazebosim.org/1.0/"), std::string::npos) << output; EXPECT_EQ(output.find("owners"), std::string::npos) << output; diff --git a/src/gz_src_TEST.cc b/src/gz_src_TEST.cc index 8b41291c..7619e085 100644 --- a/src/gz_src_TEST.cc +++ b/src/gz_src_TEST.cc @@ -98,7 +98,7 @@ TEST_F(CmdLine, ModelListFail) // https://github.com/gazebosim/gz-fuel-tools/issues/105 TEST_F(CmdLine, ModelListConfigServerUgly) { - EXPECT_TRUE(listModels("", "openroboticstest", "true")); + EXPECT_TRUE(listModels("https://fuel.gazebosim.org", "openroboticstest", "true")); EXPECT_NE(this->stdOutBuffer.str().find("https://fuel.gazebosim.org"), std::string::npos) << this->stdOutBuffer.str();