[Freeipa-devel] admiyo-0135-fix-entity-unit-tests

2011-01-07 Thread Adam Young

Minor unit test breakage due to a change in the action panel.
From 42b894b733a275812e1f48fa210f334cb59a64e7 Mon Sep 17 00:00:00 2001
From: Adam Young ayo...@redhat.com
Date: Fri, 7 Jan 2011 13:00:30 -0500
Subject: [PATCH] fix entity unit tests
 unit tests updated to accoount for the facet_group title

---
 install/static/test/entity_tests.js |6 --
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/install/static/test/entity_tests.js b/install/static/test/entity_tests.js
index 4b60c3e93b47b90a09b29c528d059352b6669324..9d1356ea76d6aa1ccdce971cc9eee93d09c2081a 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) {
-- 
1.7.3.4

___
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Re: [Freeipa-devel] admiyo-0135-fix-entity-unit-tests

2011-01-07 Thread Endi Sukma Dewata

On 1/8/2011 1:05 AM, Adam Young wrote:

Minor unit test breakage due to a change in the action panel.


ACK and pushed to master.

--
Endi S. Dewata

___
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel