View | Details | Raw Unified | Return to bug 20340
Collapse All | Expand All

(-)a/t/Koha/Plugin/TestAuth.pm (-2 / +6 lines)
Lines 38-43 sub new { Link Here
38
    return $self;
38
    return $self;
39
}
39
}
40
40
41
sub configure {
42
    my ($self , $args) = @_;
43
    $self->go_home();
44
}
45
41
=head2 retrieve_data
46
=head2 retrieve_data
42
47
43
Just return priority. It overrides the one in Koha::Plugin::Base for the test.
48
Just return priority. It overrides the one in Koha::Plugin::Base for the test.
Lines 65-71 sub retrieve_data { Link Here
65
sub checkpw {
70
sub checkpw {
66
    my ( $self, $dbh, $userid, $password, $query, $type, $no_set_userenv ) = @_;
71
    my ( $self, $dbh, $userid, $password, $query, $type, $no_set_userenv ) = @_;
67
72
68
    if ( $userid = 'test' && $password eq 'test' ) {
73
    if ( $userid eq 'test' && $password eq 'test' ) {
69
        return (1, 'test', 'test');
74
        return (1, 'test', 'test');
70
    }
75
    }
71
76
72
- 

Return to bug 20340