summaryrefslogtreecommitdiff
path: root/tests/test_db.cpp
diff options
context:
space:
mode:
authorJanusz Kozerski <j.kozerski@samsung.com>2015-07-20 14:09:12 (GMT)
committerJanusz Kozerski <j.kozerski@samsung.com>2015-08-03 14:14:30 (GMT)
commit4373c73514186ce90d71a0486447fa66dcf0a6c1 (patch)
tree7c5bd75cc6655094b865fdffc0db37ec59c574e0 /tests/test_db.cpp
parent9c839946822cbf84b8f6d4edebca8bc678941c85 (diff)
downloadcert-checker-4373c73514186ce90d71a0486447fa66dcf0a6c1.zip
cert-checker-4373c73514186ce90d71a0486447fa66dcf0a6c1.tar.gz
cert-checker-4373c73514186ce90d71a0486447fa66dcf0a6c1.tar.bz2
Restore test DB from copy instead of clearing itrefs/changes/14/44414/7
Change-Id: Ia82a764c764f28f78d5c6f6a6d511c67459804b7
Diffstat (limited to 'tests/test_db.cpp')
-rw-r--r--tests/test_db.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/test_db.cpp b/tests/test_db.cpp
index e9685a8..066e895 100644
--- a/tests/test_db.cpp
+++ b/tests/test_db.cpp
@@ -39,8 +39,6 @@ BOOST_AUTO_TEST_CASE(DB_url) {
std::string url_org3 = "########";
std::string url_update3 = "@@@";
- clear_database();
-
// No url in database
BOOST_REQUIRE(get_url("Issuer_test1", url)==false);
BOOST_REQUIRE(get_url("Issuer_test2", url)==false);
@@ -97,7 +95,6 @@ BOOST_AUTO_TEST_CASE(DB_url) {
}
BOOST_AUTO_TEST_CASE(DB_app_positive) {
- clear_database();
std::list<app_t> buffer;
app_t app1("app_1", "pkg_1", 5001, {});
@@ -144,7 +141,6 @@ BOOST_AUTO_TEST_CASE(DB_app_positive) {
}
BOOST_AUTO_TEST_CASE(DB_app_negative) {
- clear_database();
std::list<app_t> buffer;
app_t app1("app_1", "pkg_1", 5001, {});