From 4a8c43aa324beff5bebfa9a699b1dc4b29020731 Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Wed, 16 Feb 2011 12:46:59 -0600 Subject: I18n update. Hard-coded messages through out the code have been replaced by i18n messages obtained from json_metadata and i18n_messages. --- install/ui/test/ipa_tests.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'install/ui/test/ipa_tests.js') diff --git a/install/ui/test/ipa_tests.js b/install/ui/test/ipa_tests.js index 4fa0d1ea..41163df1 100644 --- a/install/ui/test/ipa_tests.js +++ b/install/ui/test/ipa_tests.js @@ -40,7 +40,7 @@ test("Testing ipa_init().", function() { test("Testing IPA.get_param_info().", function() { - var param_info = IPA.get_param_info("user", "uid"); + var param_info = IPA.get_entity_param("user", "uid"); ok( param_info, "IPA.get_param_info(\"user\", \"uid\") not null" @@ -52,22 +52,22 @@ test("Testing IPA.get_param_info().", function() { ); equals( - IPA.get_param_info("user", "wrong_attribute"), null, + IPA.get_entity_param("user", "wrong_attribute"), null, "IPA.get_param_info(\"user\", \"wrong_attribute\")" ); equals( - IPA.get_param_info("user", null), null, + IPA.get_entity_param("user", null), null, "IPA.get_param_info(\"user\", null)" ); equals( - IPA.get_param_info("wrong_entity", "uid"), null, + IPA.get_entity_param("wrong_entity", "uid"), null, "IPA.get_param_info(\"wrong_entity\", \"uid\")" ); equals( - IPA.get_param_info(null, "uid"), null, + IPA.get_entity_param(null, "uid"), null, "IPA.get_param_info(null, \"uid\")" ); }); -- cgit