Add initialization function at smoke test 07/256507/4
authorJunghyun Yeon <jungh.yeon@samsung.com>
Tue, 6 Apr 2021 04:03:26 +0000 (13:03 +0900)
committerJunghyun Yeon <jungh.yeon@samsung.com>
Fri, 16 Apr 2021 08:43:51 +0000 (17:43 +0900)
Database will not be created automatically.

Related changes:
[app-installers] : https://review.tizen.org/gerrit/#/c/platform/core/appfw/app-installers/+/256566/

Change-Id: I41cf6c52310a1f58c0f17b3169b57dd2d3e751c7
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
test/smoke_tests/smoke_test.cc

index 50bd8e039c2305d448ddd42dbb5b3f51e2342564..ced8f24b8a481810091c2901eaae2605fdb6dd7e 100644 (file)
@@ -49,6 +49,8 @@ class SmokeEnvironment : public testing::Environment {
       for (auto& path : backups_)
         ASSERT_TRUE(BackupPathCopyAndRemove(path));
     }
+
+    CreateDatabase();
   }
   void TearDown() override {
     ASSERT_TRUE(request_mode_ == ci::RequestMode::GLOBAL ||