Fix the last failed test case in privilege_db_manager.c file for privilege checker... 85/314685/1
authortranthanhtung2001 <tran.tung@samsung.com>
Wed, 17 Jul 2024 09:52:06 +0000 (16:52 +0700)
committertranthanhtung2001 <tran.tung@samsung.com>
Wed, 17 Jul 2024 09:52:06 +0000 (16:52 +0700)
Change-Id: I9aabb4fe723d43c1c3de857ea97f6f3753813f67
Signed-off-by: tranthanhtung2001 <tran.tung@samsung.com>
test/tc-privilege-db-manager.c

index 2c812d8..1824c0a 100644 (file)
@@ -723,8 +723,9 @@ void __test_privilege_db_manager_get_all_privacy_package_list()
        char *pkg0 = "cert-svc-ui";
        char *pkg1 = "org.test.nativeapp_3";
 
+       privilege_db_manager_unset_package_privilege_info(5001, pkg1);
+
        expected_package_list = g_list_append(expected_package_list, pkg0);
-       expected_package_list = g_list_append(expected_package_list, pkg1);
 
        __tcinfo(goal, POS_TC_PREFIX "get all privacy package list");