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

(-)a/t/db_dependent/Koha/Illbackend.t (-5 / +4 lines)
Lines 141-150 subtest 'existing_statuses() tests' => sub { Link Here
141
141
142
    # FIXME: Add tests to check content and order of return
142
    # FIXME: Add tests to check content and order of return
143
    my $expected_statuses = [
143
    my $expected_statuses = [
144
        { code => 'CHK',   str => 'Checked out' },
144
        { code => 'CHK',   str => 'Checked out',            type => 'ill_status' },
145
        { code => 'READY', str => 'Ready' },
145
        { code => 'READY', str => 'Ready',                  type => 'ill_status' },
146
        { code => 'REQ',   str => 'Requested' },
146
        { code => 'REQ',   str => 'Requested',              type => 'ill_status' },
147
        { code => 'BOB',   str => 'Bob is the best status' }
147
        { code => 'BOB',   str => 'Bob is the best status', type => 'av' }
148
    ];
148
    ];
149
149
150
    is_deeply( $existing_statuses, $expected_statuses, 'Deep match on return' );
150
    is_deeply( $existing_statuses, $expected_statuses, 'Deep match on return' );
151
- 

Return to bug 34431