From a4e651ebc6a4f7b239d1b9cdb3f45abf1afbb198 Mon Sep 17 00:00:00 2001 From: John Ralls Date: Sun, 9 Jul 2023 11:17:44 -0700 Subject: [PATCH] Fix test-gnc-quotes. Forgot to change the test's date-time to neutral time. --- libgnucash/app-utils/test/gtest-gnc-quotes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libgnucash/app-utils/test/gtest-gnc-quotes.cpp b/libgnucash/app-utils/test/gtest-gnc-quotes.cpp index 30b8a5dc6f..1346d879eb 100644 --- a/libgnucash/app-utils/test/gtest-gnc-quotes.cpp +++ b/libgnucash/app-utils/test/gtest-gnc-quotes.cpp @@ -266,7 +266,7 @@ TEST_F(GncQuotesTest, fetch_one_commodity) EXPECT_TRUE(failures.empty()); auto pricedb{gnc_pricedb_get_db(m_book)}; auto price{gnc_pricedb_lookup_latest(pricedb, hpe, usd)}; - auto datetime{static_cast(GncDateTime("20220901160000"))}; + auto datetime{static_cast(GncDateTime("20220901105900"))}; EXPECT_EQ(usd, gnc_price_get_currency(price)); EXPECT_EQ(datetime, gnc_price_get_time64(price));