From 8036eeebdafcc04ab3227feda1f93aaa1153ab48 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 26 Sep 2024 14:18:31 +0200 Subject: [PATCH] Bug 37398: Adjust tests Content-Type: text/plain; charset=utf-8 Signed-off-by: Phil Ringnalda Signed-off-by: Marcel de Rooy --- t/db_dependent/Koha/UI/Form/Builder/Item.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/db_dependent/Koha/UI/Form/Builder/Item.t b/t/db_dependent/Koha/UI/Form/Builder/Item.t index 068374e562..251287a530 100755 --- a/t/db_dependent/Koha/UI/Form/Builder/Item.t +++ b/t/db_dependent/Koha/UI/Form/Builder/Item.t @@ -259,7 +259,7 @@ subtest 'kohafields_to_add_datepicker' => sub { foreach my $itemfield_test_case (@itemfield_test_cases) { my ( $subfield ) = grep { $_->{kohafield} eq $itemfield_test_case->{kohafield} } @$subfields; if ( $subfield ) { - is( $subfield->{datetype}, $itemfield_test_case->{expected_type}, "Correct datetype for $itemfield_test_case->{kohafield}" ); + is( $subfield->{data_type}, $itemfield_test_case->{expected_type}, "Correct datetype for $itemfield_test_case->{kohafield}" ); } else { ok( 0, "Subfield for $itemfield_test_case->{kohafield} not found" ); } -- 2.39.5