mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 05:33:23 +00:00
dd3c008537
- https://github.com/Gnucash/gnucash/releases/tag/5.0 - https://github.com/Gnucash/gnucash/releases/tag/5.1 Co-authored-by: Anderson Torres <torres.anderson.85@protonmail.com>
32 lines
977 B
Diff
32 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{
|
|
|