Changeset 1246

Show
Ignore:
Timestamp:
08/09/06 16:43:49
Author:
miyagawa
Message:

added live test suite for UserAgent?::AuthenRequest?. Make 'auth' default to 'basic' which is the only auth protocol supported for now.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/plagger/lib/Plagger/Plugin/UserAgent/AuthenRequest.pm

    r1245 r1246  
    3131            $auth = $self->conf->{$auth}; 
    3232 
    33             if ( $auth && $auth->{auth} eq 'basic' ) { # todo: other authentication support 
     33            if ( $auth && ($auth->{auth}||'basic') eq 'basic' ) { # todo: other authentication support 
    3434                $req->headers->authorization_basic( $auth->{username}, $auth->{password} ); 
    3535            } 
  • trunk/plagger/t/TestPlagger.pm

    r1244 r1246  
    9393 
    9494sub run_eval_expected_with_capture { 
    95     # run this method with 'filters_delay' 
     95    filters_delay; 
    9696    for my $block (blocks) { 
    9797        my $warning; 
  • trunk/plagger/t/core/log-level.t

    r1238 r1246  
    33 
    44plan 'no_plan'; 
    5  
    6 filters_delay; 
    75run_eval_expected_with_capture; 
    86