From 5eb9f088f2c5c902a55aefdf9dd8b2a95e060837 Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Thu, 28 Apr 2011 17:38:21 -0500 Subject: Use entity names for tab state. Previously the tab state is represented using numeric index such as navigation=0&identity=1 which is not very user friendly. Now the code has been modified to use entity names such as navigation=identity&identity=group. --- install/ui/test/navigation_tests.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'install/ui/test/navigation_tests.js') diff --git a/install/ui/test/navigation_tests.js b/install/ui/test/navigation_tests.js index d8cf6d46..e88c99d9 100644 --- a/install/ui/test/navigation_tests.js +++ b/install/ui/test/navigation_tests.js @@ -117,7 +117,7 @@ test("Testing IPA.navigation.update() with valid index.", function() { }; navigation.create(); - navigation.push_state({"identity":1}); + navigation.push_state({'identity': 'two'}); navigation.update(); same( @@ -164,7 +164,7 @@ test("Testing IPA.navigation.update() with out-of-range index.", function() { }; navigation.create(); - navigation.push_state({"identity":2}); + navigation.push_state({'identity': 'three'}); navigation.update(); same( -- cgit