[Rt-commit] r19890 - rtir/2.5/trunk/t/lib/RT/IR
ruz at bestpractical.com
ruz at bestpractical.com
Thu Jun 4 09:34:34 EDT 2009
Author: ruz
Date: Thu Jun 4 09:34:33 2009
New Revision: 19890
Modified:
rtir/2.5/trunk/t/lib/RT/IR/Test.pm
Log:
* fix ticket_status invocation in t/lib
Modified: rtir/2.5/trunk/t/lib/RT/IR/Test.pm
==============================================================================
--- rtir/2.5/trunk/t/lib/RT/IR/Test.pm (original)
+++ rtir/2.5/trunk/t/lib/RT/IR/Test.pm Thu Jun 4 09:34:33 2009
@@ -79,6 +79,8 @@
require RT::Plugin;
my $rtfm = RT::Plugin->new( name => 'RT::FM' );
# RTFM's data
+
+ Test::More::diag("RTFM path: ". $rtfm->Path('etc') );
my ($ret, $msg) = $RT::Handle->InsertSchema( undef, $rtfm->Path('etc') );
Test::More::ok($ret,"Created Schema: ".($msg||''));
($ret, $msg) = $RT::Handle->InsertACL( undef, $rtfm->Path('etc') );
@@ -160,7 +162,7 @@
my $id = shift;
my $state = shift;
my $desc = shift || "State of the ticket #$id is '$state'";
- return Test::More::is(ticket_state($id), $state, $desc);
+ return Test::More::is(ticket_state($agent, $id), $state, $desc);
}
sub ticket_is_linked_to_inc {
More information about the Rt-commit
mailing list