[Rt-commit] r6603 -
rt/branches/3.7-EXPERIMENTAL-RTIR-2.2/lib/t/regression
ruz at bestpractical.com
ruz at bestpractical.com
Fri Dec 8 10:38:25 EST 2006
Author: ruz
Date: Fri Dec 8 10:38:25 2006
New Revision: 6603
Modified:
rt/branches/3.7-EXPERIMENTAL-RTIR-2.2/lib/t/regression/06mailgateway.t
Log:
* update tests after merge
Modified: rt/branches/3.7-EXPERIMENTAL-RTIR-2.2/lib/t/regression/06mailgateway.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-RTIR-2.2/lib/t/regression/06mailgateway.t (original)
+++ rt/branches/3.7-EXPERIMENTAL-RTIR-2.2/lib/t/regression/06mailgateway.t Fri Dec 8 10:38:25 2006
@@ -410,7 +410,12 @@
my $transactions = $tick->Transactions;
$transactions->OrderByCols({ FIELD => 'id', ORDER => 'DESC' });
- $transactions->Limit( FIELD => 'Type', OPERATOR => '!=', VALUE => 'EmailRecord');
+ $transactions->Limit(
+ FIELD => 'Type',
+ OPERATOR => 'NOT ENDSWITH',
+ VALUE => 'EmailRecord',
+ ENTRYAGGREGATOR => 'AND',
+ );
my $txn = $transactions->First;
isa_ok ($txn, 'RT::Transaction');
is ($txn->Type, 'Comment', "correct type");
More information about the Rt-commit
mailing list