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

(-)a/t/db_dependent/Reports/Guided.t (-2 / +7 lines)
Lines 501-507 subtest 'nb_rows() tests' => sub { Link Here
501
501
502
subtest 'Returning passwords tests' => sub {
502
subtest 'Returning passwords tests' => sub {
503
503
504
    plan tests => 3;
504
    plan tests => 4;
505
505
506
    my $dbh = C4::Context->dbh;
506
    my $dbh = C4::Context->dbh;
507
    $schema->storage->txn_begin;
507
    $schema->storage->txn_begin;
Lines 524-529 subtest 'Returning passwords tests' => sub { Link Here
524
524
525
    is( defined($errors), 1, 'Query returns password field' );
525
    is( defined($errors), 1, 'Query returns password field' );
526
526
527
    $query = q{ SELECT password as secret FROM borrowers };
528
529
    ( $sth, $errors ) = execute_query( { sql => $query } );
530
531
    is( defined($errors), 1, 'Error raised for returning password' );
532
527
    $schema->storage->txn_rollback;
533
    $schema->storage->txn_rollback;
528
};
534
};
529
535
530
- 

Return to bug 37508