[Rt-commit] r18751 - in rt/3.999/trunk: .
sunnavy at bestpractical.com
sunnavy at bestpractical.com
Mon Mar 9 23:09:41 EDT 2009
Author: sunnavy
Date: Mon Mar 9 23:09:40 2009
New Revision: 18751
Modified:
rt/3.999/trunk/ (props changed)
rt/3.999/trunk/t/api/ticket.t
Log:
r20284 at sunnavys-mb: sunnavy | 2009-03-10 11:08:31 +0800
make t/api/ticket.t to pass
Modified: rt/3.999/trunk/t/api/ticket.t
==============================================================================
--- rt/3.999/trunk/t/api/ticket.t (original)
+++ rt/3.999/trunk/t/api/ticket.t Mon Mar 9 23:09:40 2009
@@ -1,12 +1,7 @@
use strict;
use warnings;
-use RT::Test; use Test::More;
-plan tests => 88;
-use Data::Dumper;
-use RT;
-
-
+use RT::Test tests => 88, l10n => 1;
{
@@ -134,7 +129,7 @@
$group = RT::Model::Group->new(current_user => RT->system_user);
ok($group->load_role_group(object => $ticket, type=> 'admin_cc'));
-ok ($group->id, "Not found the admin_cc object for this ticket");
+ok (!$group->id, "Not found the admin_cc object for this ticket");
$group = RT::Model::Group->new(current_user => RT->system_user);
ok($group->load_role_group(object => $ticket, type=> 'owner'));
More information about the Rt-commit
mailing list