The whole point of test mode, NOT actually committing actions.
authoratz <atz@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 5 Oct 2010 17:10:22 +0000 (17:10 +0000)
committeratz <atz@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 5 Oct 2010 17:10:22 +0000 (17:10 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18178 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/support-scripts/edi_pusher.pl

index a5eff79..b18852b 100755 (executable)
@@ -159,6 +159,7 @@ foreach my $def (@$defs) {
         my $logstr2 = sprintf "event %s, PO %s, template_output %s", $_->{id}, $message->purchase_order, $event->template_output->id;
         if ($opts->{test}) {
             print "Test mode, skipping translation/send\n";
+            next;
         }
 
         printf "\nNow calling attempt_translation for $logstr2\n\n";