[Rt-commit] r10702 - rt/branches/3.999-DANGEROUS/t/shredder
ruz at bestpractical.com
ruz at bestpractical.com
Sun Feb 3 18:11:58 EST 2008
Author: ruz
Date: Sun Feb 3 18:11:58 2008
New Revision: 10702
Modified:
rt/branches/3.999-DANGEROUS/t/shredder/02user.t
Log:
* fix t/shredder/02user.t
Modified: rt/branches/3.999-DANGEROUS/t/shredder/02user.t
==============================================================================
--- rt/branches/3.999-DANGEROUS/t/shredder/02user.t (original)
+++ rt/branches/3.999-DANGEROUS/t/shredder/02user.t Sun Feb 3 18:11:58 2008
@@ -26,15 +26,15 @@
ok( $uid, "Created new user" ) or diag "error: $msg";
is( $user->id, $uid, "id is correct" );
# HACK: set ticket props to enable VARIABLE dependencies
-$ticket->__set( column => 'LastUpdatedBy', value => $uid );
+$ticket->__set( column => 'last_updated_by', value => $uid );
create_savepoint('aucreate'); # after user create
{
my $resolver = sub {
my %args = (@_);
- my $t = $args{'targetobject'};
+ my $t = $args{'target_object'};
my $resolver_uid = RT->system_user->id;
- foreach my $method ( qw(Creator LastUpdatedBy) ) {
+ foreach my $method ( qw(creator last_updated_by) ) {
next unless $t->can($method);
$t->__set( column => $method, value => $resolver_uid );
}
More information about the Rt-commit
mailing list