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

(-)a/t/db_dependent/Reports/Guided.t (-2 / +1 lines)
Lines 217-223 subtest 'get_saved_reports' => sub { Link Here
217
    ok( 0 < scalar @{ get_saved_reports( $report_ids[0] ) }, "filter takes report id" );
217
    ok( 0 < scalar @{ get_saved_reports( $report_ids[0] ) }, "filter takes report id" );
218
218
219
    my $r1 = Koha::Reports->find($report_ids[0]);
219
    my $r1 = Koha::Reports->find($report_ids[0]);
220
    $r1 = update_sql($r1->id, { borrowernumber => $r1->borrowernumber, name => 'Just another report' });
220
    $r1 = update_sql($r1->id, { %{$r1->unblessed}, borrowernumber => $r1->borrowernumber, name => 'Just another report' });
221
    is( $r1->cache_expiry, 300, 'cache_expiry has the correct default value, from DBMS' );
221
    is( $r1->cache_expiry, 300, 'cache_expiry has the correct default value, from DBMS' );
222
222
223
    #Test delete_report
223
    #Test delete_report
224
- 

Return to bug 24614