From 6df16f3a1007bb60414bda87c970a89b21713888 Mon Sep 17 00:00:00 2001 From: Adam Young Date: Thu, 28 Oct 2010 17:20:12 -0400 Subject: 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 --- install/static/test/association_tests.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'install/static/test/association_tests.js') diff --git a/install/static/test/association_tests.js b/install/static/test/association_tests.js index 61cc3a04..05e43ce4 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; }); -- cgit