Fix cleaning up LDAP links in tests.

This commit is contained in:
Colin Kuskie 2011-06-13 19:50:40 -07:00
parent 638b2a1996
commit 81ae2b4f07

View file

@ -874,7 +874,7 @@ Example call:
},
'WebGUI::LDAPLink' => sub {
my $link = shift;
$link->session->db->write("delete from ldapLink where ldapLinkId=?", [$link->{ldapLinkId}]);
$link->session->db->write("delete from ldapLink where ldapLinkId=?", [$link->{_ldapLinkId}]);
},
'CODE' => sub {
(shift)->();