Fix a typo that snuck through the cracks in Cronscript.pm.in.
authorJason Stephenson <jstephenson@mvlc.org>
Wed, 9 Nov 2011 14:37:44 +0000 (09:37 -0500)
committerDan Scott <dscott@laurentian.ca>
Wed, 9 Nov 2011 15:18:34 +0000 (10:18 -0500)
We had Opensrf::AppSession rather than OpenSRF::AppSession, which isn't
caught by the simple use_ok() tests that we largely rely on for our
current Perl test suite. In addition, when we manually tested the change
to Cronscript.pm.in, we didn't do both configure && make to ensure that
the new version of Cronscript.pm reflected the changes. Lots to learn,
luckily the method wasn't being used by anything else in Evergreen yet.

Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Signed-off-by: Dan Scott <dscott@laurentian.ca>

Open-ILS/src/perlmods/lib/OpenILS/Utils/Cronscript.pm.in

index 4c0d66b..472c445 100644 (file)
@@ -302,7 +302,7 @@ sub authenticate {
     if ($args && ref($args) eq 'HASH') {
         $self->{bootstrapped} or $self->bootstrap();
 
-        my $session = Opensrf::AppSession->create('open-ils.auth');
+        my $session = OpenSRF::AppSession->create('open-ils.auth');
         my $seed = $session->request(
             'open-ils.auth.authenticate.init', $args->{'username'}
         )->gather(1);