94427deb9d
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
31 lines
977 B
Diff
31 lines
977 B
Diff
diff --git a/libgnucash/app-utils/test/gtest-gnc-quotes.cpp b/libgnucash/app-utils/test/gtest-gnc-quotes.cpp
|
|
index 8a5221d19d..d14e96cb66 100644
|
|
--- a/libgnucash/app-utils/test/gtest-gnc-quotes.cpp
|
|
+++ b/libgnucash/app-utils/test/gtest-gnc-quotes.cpp
|
|
@@ -153,25 +153,6 @@ TEST_F(GncQuotesTest, quotable_commodities)
|
|
EXPECT_EQ(4u, commodities.size());
|
|
}
|
|
|
|
-#ifdef HAVE_F_Q
|
|
-TEST_F(GncQuotesTest, online_wiggle)
|
|
-{
|
|
- GncQuotes quotes;
|
|
- quotes.fetch(m_book);
|
|
- auto pricedb{gnc_pricedb_get_db(m_book)};
|
|
- auto failures{quotes.failures()};
|
|
- ASSERT_EQ(1u, failures.size());
|
|
- EXPECT_EQ(GncQuoteError::QUOTE_FAILED, std::get<2>(failures[0]));
|
|
-// EXPECT_EQ(GncQuoteError::QUOTE_FAILED, std::get<2>(failures[1]));
|
|
- EXPECT_EQ(3u, gnc_pricedb_get_num_prices(pricedb));
|
|
-}
|
|
-#else
|
|
-TEST_F(GncQuotesTest, fq_failure)
|
|
-{
|
|
- EXPECT_THROW(GncQuotes quotes;, GncQuoteException);
|
|
-}
|
|
-#endif
|
|
-
|
|
TEST_F(GncQuotesTest, offline_wiggle)
|
|
{
|
|
StrVec quote_vec{
|
|
|