summaryrefslogtreecommitdiffstats
path: root/install/static/test
diff options
context:
space:
mode:
authorAdam Young <ayoung@redhat.com>2011-01-07 13:00:30 -0500
committerEndi Sukma Dewata <edewata@redhat.com>2011-01-08 04:45:00 -0500
commitf717d7d2e7bf5e89bab0708e31a762a32a192707 (patch)
tree336b8bf37ee7786c712434048330c1e9bee190c3 /install/static/test
parent5c9c006af1071f050399f2ee44d078182817ea81 (diff)
downloadfreeipa-f717d7d2e7bf5e89bab0708e31a762a32a192707.tar.gz
freeipa-f717d7d2e7bf5e89bab0708e31a762a32a192707.tar.xz
freeipa-f717d7d2e7bf5e89bab0708e31a762a32a192707.zip
fix entity unit tests unit tests updated to accoount for the facet_group title
Diffstat (limited to 'install/static/test')
-rw-r--r--install/static/test/entity_tests.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/install/static/test/entity_tests.js b/install/static/test/entity_tests.js
index 4b60c3e93..9d1356ea7 100644
--- a/install/static/test/entity_tests.js
+++ b/install/static/test/entity_tests.js
@@ -111,12 +111,13 @@ test('Testing ipa_facet_setup_views().', function() {
var views = ul.children();
- /*5 Views:
+ /*6 Views:
one for each of 3 associations
one for search
+ one for details
a blank one for the action controls*/
equals(
- views.length, 5,
+ views.length, 6,
'Checking number of views'
);
@@ -126,6 +127,7 @@ test('Testing ipa_facet_setup_views().', function() {
);
li = li.next(); // skip action controls
+ li = li.next(); // skip the header line for Member of
var attribute_members = IPA.metadata['user'].attribute_members;
for (var attribute_member in attribute_members) {