security-manager-tests: fix cleanup in security_manager_45_test_* 32/67332/2
authorRafal Krypa <r.krypa@samsung.com>
Mon, 25 Apr 2016 14:15:11 +0000 (16:15 +0200)
committerRafal Krypa <r.krypa@samsung.com>
Thu, 28 Apr 2016 16:01:27 +0000 (09:01 -0700)
The test case security_manager_45_test_authorId_identificator_creation failed
to properly clean after itself by removing temporary applications from
security-manager.

Change-Id: Ie79e812a7c67fff9d2c491f1353fab9566a8e315

src/security-manager-tests/security_manager_tests.cpp

index 180962e..850ec73 100644 (file)
@@ -3369,6 +3369,10 @@ RUNNER_TEST(security_manager_45_test_authorId_identificator_creation)
     Api::install(trustedApp);
 
     int64_t authorDb2 = dbtest.get_author_id(authorId2);
+
+    Api::uninstall(trustingApp);
+    Api::uninstall(trustedApp);
+
     RUNNER_ASSERT(authorDb1 != authorDb2);
 }