// deny non existing access to existing alias
int ret = ckmc_set_permission(TEST_ALIAS, "label", CKMC_PERMISSION_NONE);
- RUNNER_ASSERT_MSG(CKMC_ERROR_INVALID_PARAMETER == ret,
+ RUNNER_ASSERT_MSG(CKMC_ERROR_NONE == ret,
"Denying non existing access returned: " << CKMCErrorToString(ret));
}
}
// tries to deny non existing access
-RUNNER_TEST(T3105_control_deny_access_non_existing_access, RemoveDataEnv<APP_1>)
+RUNNER_TEST(T3105_control_remove_non_existing_access, RemoveDataEnv<APP_1>)
{
// prepare: add data
{
}
int ret = ckmc_set_permission_by_adm(APP_1, aliasWithLabel(APP_LABEL_1, TEST_ALIAS).c_str(), APP_LABEL_2, CKMC_PERMISSION_NONE);
- RUNNER_ASSERT_MSG(CKMC_ERROR_INVALID_PARAMETER == ret,
+ RUNNER_ASSERT_MSG(CKMC_ERROR_NONE == ret,
"Denying non existing access returned: " << CKMCErrorToString(ret));
}