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

(-)a/t/db_dependent/Tags.t (-3 / +2 lines)
Lines 89-96 subtest 'add_tag_index() tests' => sub { Link Here
89
        '👍'  => 1,
89
        '👍'  => 1,
90
    };
90
    };
91
91
92
    for my $term ( keys %{ $terms } ) {
92
    while ( my ( $term, $count ) = each %$terms ) {
93
        for (my $i=1; $i <= $terms->{$term}; $i++) {
93
        for  ( 1 .. $count ) {
94
            C4::Tags::add_tag_approval( $term );
94
            C4::Tags::add_tag_approval( $term );
95
            C4::Tags::add_tag_index( $term, $biblio->biblionumber );
95
            C4::Tags::add_tag_index( $term, $biblio->biblionumber );
96
        }
96
        }
97
- 

Return to bug 21846