[Rt-commit] rt branch, 4.0/on-forward-conditions, updated. rt-4.0.1-202-g2b6a953
Jason May
jasonmay at bestpractical.com
Mon Aug 29 10:18:14 EDT 2011
The branch, 4.0/on-forward-conditions has been updated
via 2b6a9531a7c85c5168b3e4da7b16adabd6d001b1 (commit)
from 920ad95127898906b620cbd4d93912d85d3e574f (commit)
Summary of changes:
t/web/scrips.t | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
- Log -----------------------------------------------------------------
commit 2b6a9531a7c85c5168b3e4da7b16adabd6d001b1
Author: Jason May <jasonmay at bestpractical.com>
Date: Mon Aug 29 10:17:02 2011 -0400
Use a more descriptive variable when looping through condition values
diff --git a/t/web/scrips.t b/t/web/scrips.t
index dca7ae2..def20ec 100644
--- a/t/web/scrips.t
+++ b/t/web/scrips.t
@@ -32,10 +32,10 @@ sub prepare_code_with_value {
my @values_for_actions;
my $conds = RT::ScripConditions->new(RT->SystemUser);
- for ('On Forward', 'On Forward Ticket', 'On Forward Transaction') {
+ foreach my $cond_value ('On Forward', 'On Forward Ticket', 'On Forward Transaction') {
$conds->Limit(
FIELD => 'name',
- VALUE => $_,
+ VALUE => $cond_value,
ENTRYAGGREGATOR => 'OR',
);
}
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list