Replace magic policy level strings with constexpr
[platform/core/test/security-tests.git] / src / security-manager-tests / test_cases_nss.cpp
index 82ce87b..3cfdc64 100644 (file)
@@ -111,7 +111,7 @@ RUNNER_CHILD_TEST(nss_03_guest_user_without_inter_daemon_groups_unaffected_by_cy
         SECURITY_MANAGER_ANY,
         std::to_string(static_cast<int>(testUser.getUid())),
         "http://tizen.org/privilege/camera");
-    entry.setMaxLevel("Deny");
+    entry.setMaxLevel(PolicyEntry::LEVEL_DENY);
 
     policyRequest.addEntry(entry);
     Api::sendPolicy(policyRequest);