[Rt-commit] rt branch, 4.0/apply-scrips-to-multiple-queues, updated. rt-4.0.4-233-g48c67ab

Thomas Sibley trs at bestpractical.com
Fri Nov 2 15:47:46 EDT 2012


The branch, 4.0/apply-scrips-to-multiple-queues has been updated
       via  48c67ab232180e1c3a1969bcfa7da2486dfa01c4 (commit)
      from  bedfcdfe2742f912f4136b422c23712644f934d6 (commit)

Summary of changes:
 t/api/scrip.t | 3 +++
 1 file changed, 3 insertions(+)

- Log -----------------------------------------------------------------
commit 48c67ab232180e1c3a1969bcfa7da2486dfa01c4
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Fri Nov 2 12:47:17 2012 -0700

    Tests: Avoid uninitialized warnings from the User Defined condition/action

diff --git a/t/api/scrip.t b/t/api/scrip.t
index 7c9bf4a..ddd0158 100644
--- a/t/api/scrip.t
+++ b/t/api/scrip.t
@@ -133,6 +133,9 @@ note 'check applications vs. templates';
         ScripAction    => 'User Defined',
         ScripCondition => 'User Defined',
         Template       => 'foo',
+        CustomIsApplicableCode  => "1;",
+        CustomPrepareCode       => "1;",
+        CustomCommitCode        => "1;",
     );
     ok($status, 'created a scrip') or diag "error: $msg";
     main->check_applications($scrip, [$queue], [0, $queue_B]);

-----------------------------------------------------------------------


More information about the Rt-commit mailing list