Call db create functions before starting smoke test 67/256567/3
authorJunghyun Yeon <jungh.yeon@samsung.com>
Wed, 7 Apr 2021 07:23:23 +0000 (16:23 +0900)
committerJunghyun Yeon <jungh.yeon@samsung.com>
Thu, 3 Jun 2021 02:59:09 +0000 (02:59 +0000)
Database will not be created automatically.

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

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

index ec82d92..53377a8 100644 (file)
@@ -32,6 +32,7 @@ class SmokeEnvironment : public testing::Environment {
     backups_ = SetupBackupDirectories(test_user.uid);
     for (auto& path : backups_)
       ASSERT_TRUE(BackupPath(path));
+    CreateDatabase();
   }
   void TearDown() override {
     ASSERT_TRUE(request_mode_ == ci::RequestMode::GLOBAL ||