[Rt-commit] r15676 - rt/branches/3.999-DANGEROUS/t/api
ruz at bestpractical.com
ruz at bestpractical.com
Sun Aug 31 21:03:48 EDT 2008
Author: ruz
Date: Sun Aug 31 21:03:47 2008
New Revision: 15676
Modified:
rt/branches/3.999-DANGEROUS/t/api/group.t
rt/branches/3.999-DANGEROUS/t/api/user.t
Log:
* delete tests for object_id
Modified: rt/branches/3.999-DANGEROUS/t/api/group.t
==============================================================================
--- rt/branches/3.999-DANGEROUS/t/api/group.t (original)
+++ rt/branches/3.999-DANGEROUS/t/api/group.t Sun Aug 31 21:03:47 2008
@@ -2,7 +2,7 @@
use strict;
use warnings;
use RT::Test; use Test::More;
-plan tests => 38;
+plan tests => 37;
use RT;
@@ -92,7 +92,6 @@
ok(my $u = RT::Model::Group->new(current_user => RT->system_user));
ok($u->load(4), "Loaded the first user");
-is($u->principal_object->object_id , 4, "user 4 is the fourth principal");
is($u->principal_object->principal_type , 'Group' , "Principal 4 is a group");
Modified: rt/branches/3.999-DANGEROUS/t/api/user.t
==============================================================================
--- rt/branches/3.999-DANGEROUS/t/api/user.t (original)
+++ rt/branches/3.999-DANGEROUS/t/api/user.t Sun Aug 31 21:03:47 2008
@@ -2,7 +2,7 @@
use strict;
use warnings;
use RT::Test; use Test::More;
-plan tests => 105;
+plan tests => 104;
use RT;
@@ -87,7 +87,6 @@
ok(my $u = RT::Model::User->new(current_user => RT->system_user));
ok($u->load(1), "Loaded the first user");
-is($u->principal_object->object_id , 1, "user 1 is the first principal");
is($u->principal_object->principal_type, 'User' , "Principal 1 is a user, not a group");
More information about the Rt-commit
mailing list