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

(-)a/t/db_dependent/Koha/UI/Form/Builder/Item.t (-2 / +1 lines)
Lines 259-265 subtest 'kohafields_to_add_datepicker' => sub { Link Here
259
    foreach my $itemfield_test_case (@itemfield_test_cases) {
259
    foreach my $itemfield_test_case (@itemfield_test_cases) {
260
        my ( $subfield ) = grep { $_->{kohafield} eq $itemfield_test_case->{kohafield} } @$subfields;
260
        my ( $subfield ) = grep { $_->{kohafield} eq $itemfield_test_case->{kohafield} } @$subfields;
261
        if ( $subfield ) {
261
        if ( $subfield ) {
262
            is( $subfield->{datetype}, $itemfield_test_case->{expected_type}, "Correct datetype for $itemfield_test_case->{kohafield}" );
262
            is( $subfield->{data_type}, $itemfield_test_case->{expected_type}, "Correct datetype for $itemfield_test_case->{kohafield}" );
263
        } else {
263
        } else {
264
            ok( 0, "Subfield for $itemfield_test_case->{kohafield} not found" );
264
            ok( 0, "Subfield for $itemfield_test_case->{kohafield} not found" );
265
        }
265
        }
266
- 

Return to bug 37398