diff options
author | Adam Young <ayoung@redhat.com> | 2010-10-28 17:20:12 -0400 |
---|---|---|
committer | Endi Sukma Dewata <edewata@redhat.com> | 2010-10-29 17:12:55 -0400 |
commit | 6df16f3a1007bb60414bda87c970a89b21713888 (patch) | |
tree | be48c9a16c58d719261c6e924a24f61b9de7f88c /install/static/test/association_tests.js | |
parent | 3c795f3251bd0354d56e2b50042ee04cee7cd21f (diff) | |
download | freeipa-6df16f3a1007bb60414bda87c970a89b21713888.tar.gz freeipa-6df16f3a1007bb60414bda87c970a89b21713888.tar.xz freeipa-6df16f3a1007bb60414bda87c970a89b21713888.zip |
delete associations
Uses code very similar to the search code for deleting associations
Had to modify how we were configuring for bulk so that the logic for delete matched the logic for enroll
Fixed unit test and removed the 'new' from the associator call
Diffstat (limited to 'install/static/test/association_tests.js')
-rw-r--r-- | install/static/test/association_tests.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/install/static/test/association_tests.js b/install/static/test/association_tests.js index 61cc3a04a..05e43ce4a 100644 --- a/install/static/test/association_tests.js +++ b/install/static/test/association_tests.js @@ -18,7 +18,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -test("Testing SerialAssociator().", function() { +test("Testing serial_associate().", function() { expect(10); @@ -62,8 +62,8 @@ test("Testing SerialAssociator().", function() { ok(true, "on_success() is invoked."); }; - var associator = new SerialAssociator(form, manyObjPkeys, on_success); - associator.associateNext(); + var associator = serial_associate(form, manyObjPkeys, on_success); + //associator.associateNext(); ipa_cmd = orig_ipa_cmd; }); @@ -117,8 +117,8 @@ test("Testing BulkAssociator().", function() { ok(true, "on_success() is invoked."); }; - var associator = new BulkAssociator(form, manyObjPkeys, on_success); - associator.associateNext(); + var associator = bulk_associate(form, manyObjPkeys, on_success); + //associator.associateNext(); ipa_cmd = orig_ipa_cmd; }); |