diff --git a/tests/deck_hash_test.cpp b/tests/deck_hash_test.cpp index 0a4e3026d..0c13986c4 100644 --- a/tests/deck_hash_test.cpp +++ b/tests/deck_hash_test.cpp @@ -10,7 +10,8 @@ TEST(DeckHashTest, RepeatTest) DeckList decklist( R"()"); for (int i = 0; i < 1e6; ++i) { // repeat hashing a million times - decklist.updateDeckHash(); + decklist.getDeckHash(); + decklist.refreshDeckHash(); } auto hash = decklist.getDeckHash().toStdString(); ASSERT_EQ(hash, "5cac19qm") << "The hash matches";