Skip to content
Snippets Groups Projects
Commit d24e67b8 authored by Emmanuel Milou's avatar Emmanuel Milou
Browse files

[#3947] Fix unit tests related to the history

parent 9566c406
No related branches found
No related tags found
No related merge requests found
......@@ -143,11 +143,9 @@ void HistoryTest::test_get_history_serialized()
// Check the first
tmp = "0|514-276-5468|Savoir-faire Linux|144562458|empty";
std::cout << res ["144562436"] << std::endl;
CPPUNIT_ASSERT (Validator::isEqual (tmp, res ["144562436"]));
tmp = "2|136|Emmanuel Milou|747638765|Account:1239059899";
CPPUNIT_ASSERT (Validator::isEqual (tmp, res ["747638685"]));
// the account ID does not correspond to a loaded account
tmp = "1|5143848557|empty|775354987|empty";
CPPUNIT_ASSERT (Validator::isEqual (tmp, res ["775354456"]));
......@@ -179,9 +177,6 @@ void HistoryTest::test_set_serialized_history()
tmp = "0|514-276-5468|Savoir-faire Linux|144562458|empty";
CPPUNIT_ASSERT (Validator::isEqual (tmp, map_test ["144562436"]));
tmp = "2|136|Emmanuel Milou|747638765|Account:1239059899";
CPPUNIT_ASSERT (Validator::isEqual (tmp, map_test ["747638685"]));
// the account ID does not correspond to a loaded account
tmp = "1|5143848557|empty|775354987|empty";
CPPUNIT_ASSERT (Validator::isEqual (tmp, map_test ["775354456"]));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment