Changeset 2679 for branches/release-41/t/54-usersgroupsroles.t
- Timestamp:
- 07/02/08 21:59:58 (17 months ago)
- Files:
-
- 1 modified
-
branches/release-41/t/54-usersgroupsroles.t (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/release-41/t/54-usersgroupsroles.t
r1098 r2679 2 2 3 3 use strict; 4 use Test::More qw(no_plan);4 use Test::More; 5 5 6 6 BEGIN { … … 8 8 } 9 9 use lib 't/lib', 'extlib', 'lib', '../lib', '../extlib'; 10 use MT::Test qw(:db);10 use MT::Test; 11 11 use MT; 12 my $mt; 13 BEGIN { 14 $mt = new MT; 15 my $grp_class = MT->model('group'); 16 if (! $grp_class ) { 17 plan skip_all => "Groups are unavailable for testing."; 18 } else { 19 plan tests => 16; 20 } 21 } 22 23 MT::Test->import( qw( :db ) ); 24 12 25 use MT::Blog; 13 26 use MT::Author;
