diff options
author | Endi S. Dewata <edewata@redhat.com> | 2011-04-28 17:38:21 -0500 |
---|---|---|
committer | Endi S. Dewata <edewata@redhat.com> | 2011-05-04 13:47:39 -0500 |
commit | a5a69fd56c0a42a0f9d715e6636171562a6d4729 (patch) | |
tree | afa060ccdadb55a477a5d6e7acc9a88fe83acf78 /install/ui/test/navigation_tests.js | |
parent | 2b97f55bb13fbf82b1343e2434f95c989204e680 (diff) | |
download | freeipa-a5a69fd56c0a42a0f9d715e6636171562a6d4729.tar.gz freeipa-a5a69fd56c0a42a0f9d715e6636171562a6d4729.tar.xz freeipa-a5a69fd56c0a42a0f9d715e6636171562a6d4729.zip |
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.
Diffstat (limited to 'install/ui/test/navigation_tests.js')
-rw-r--r-- | install/ui/test/navigation_tests.js | 4 |
1 files changed, 2 insertions, 2 deletions
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( |