Changeset 2573

Show
Ignore:
Timestamp:
06/13/08 18:54:41 (20 months ago)
Author:
bchoate
Message:

Fixes for test suite.

Location:
branches/release-40
Files:
4 modified

Legend:

Unmodified
Added
Removed
  • branches/release-40/Makefile

    r1717 r2573  
    172172 
    173173test: code 
    174         MT_CONFIG=t/mt.cfg perl -Ilib -Iextlib -It/lib -MTest::Harness -e 'runtests @ARGV' t/*.t 
     174        perl -Ilib -Iextlib -It/lib -MTest::Harness -e 'runtests @ARGV' t/*.t 
    175175 
    176176quick-test: code 
    177         MT_CONFIG=t/mt.cfg perl -Ilib -Iextlib -It/lib -MTest::Harness -e 'runtests @ARGV'  \ 
     177        perl -Ilib -Iextlib -It/lib -MTest::Harness -e 'runtests @ARGV'  \ 
    178178                t/00-compile.t t/01-serialize.t t/04-config.t \ 
    179179                t/05-errorhandler.t t/07-builder.t t/08-util.t           \ 
  • branches/release-40/t/00-compile.t

    r2548 r2573  
    55use warnings; 
    66 
    7 use lib 'lib', 'extlib'; 
     7use lib 't/lib', 'lib', 'extlib'; 
     8use MT::Test; 
    89 
    910use Test::More tests => 181; 
  • branches/release-40/t/21-app-callbacks.t

    r2069 r2573  
    66use Test::More tests => 3; 
    77use CGI; 
    8 use DB_File; 
    98 
    109use lib 'extlib'; 
     
    1211use lib 'lib'; 
    1312 
     13use MT::Test; 
    1414use MT; 
    1515use MT::Plugin; 
     
    1717use MT::App::CMS; 
    1818use MT::Permission; 
    19  
    20 use vars qw($T_CFG); 
    2119 
    2220use lib 't'; 
     
    2725my @result_cats = (); 
    2826 
    29 my $cms = MT::App::CMS->new(Config => $T_CFG); 
     27my $cms = MT::App::CMS->new(); 
    3028 
    3129my $plugin = MT::Plugin->new({name => "21-callbacks.t"}); 
     
    4846$q->param(blog_id => $entry2->blog_id); 
    4947$q->param(category_ids => 17); 
     48$q->param(author_id => 1); 
     49$q->param(status => 1); 
    5050# $q->param(username => 'Chuck D'); 
    5151# $q->param(password => 'bass'); 
  • branches/release-40/t/26-pings.t

    r2548 r2573  
    5454SKIP: { 
    5555    skip("Test update server $server is unreachable", 5) 
    56         unless ok($p->ping($server), 'ping'); 
     56        unless $p->ping($server); 
     57    ok(1, "ping"); 
    5758 
    5859{