Show
Ignore:
Timestamp:
07/02/08 21:59:58 (17 months ago)
Author:
bchoate
Message:

Test updates to skip when appropriate.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/release-41/t/54-usersgroupsroles.t

    r1098 r2679  
    22 
    33use strict; 
    4 use Test::More qw(no_plan); 
     4use Test::More; 
    55 
    66BEGIN { 
     
    88} 
    99use lib 't/lib', 'extlib', 'lib', '../lib', '../extlib'; 
    10 use MT::Test qw(:db); 
     10use MT::Test; 
    1111use MT; 
     12my $mt; 
     13BEGIN { 
     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 
     23MT::Test->import( qw( :db ) ); 
     24 
    1225use MT::Blog; 
    1326use MT::Author;