[Freeipa-devel] [PATCH] 314 Fixed entity definition in test cases.

Endi Sukma Dewata edewata at redhat.com
Fri Nov 18 14:57:55 UTC 2011


On 11/18/2011 4:29 AM, Petr Vobornik wrote:
> 1) In the tests is a call of entity_init method which isn't defined
> anywhere. It leads to JS error and test fail.

Fixed. It was defined in another patch:

diff --git a/install/ui/entity.js b/install/ui/entity.js
index f7bf992..4e5c724 100644
--- a/install/ui/entity.js
+++ b/install/ui/entity.js
@@ -217,6 +217,7 @@ IPA.entity = function(spec) {
          return [that.name + '-pkey'];
      };

+    that.entity_init = that.init;

      return that;
  };

-- 
Endi S. Dewata
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: freeipa-edewata-0314-2-Fixed-entity-definition-in-test-cases.patch
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20111118/9c1cbbc5/attachment.ksh>


More information about the Freeipa-devel mailing list