[EGD-5317] Module-db UT solved

Vfs init.
Convertion time string to unix time returns 1 hour later than should.
DatabaseInitializer stub that just creates empty dbs with table
structure but without data. Notification table initial records moved
to Database Initilize section. UT run with a stub of Database
Initialize - new test section introduced to test original
initializer: test-initializer.
Added missing data for contacts db to run the sorted list test
and test fix.
This commit is contained in:
RobertPiet
2021-01-22 15:23:11 +01:00
committed by Radoslaw Wicik
parent ff21816259
commit cafeb52103
30 changed files with 258 additions and 50 deletions

View File

@@ -18,6 +18,7 @@
TEST_CASE("Contacts Number Table tests")
{
vfs.Init();
Database::initialize();
const auto contactsPath = purefs::dir::getUserDiskPath() / "contacts.db";