Bugzilla – Attachment 171963 Details for
Bug 37398
Initialize a datepicker on all date/datetime fields when adding/editing items
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37398: Adjust tests
Bug-37398-Adjust-tests.patch (text/plain), 1.19 KB, created by
Jonathan Druart
on 2024-09-26 12:19:34 UTC
(
hide
)
Description:
Bug 37398: Adjust tests
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2024-09-26 12:19:34 UTC
Size:
1.19 KB
patch
obsolete
>From 5e53bb0be8234e9dfb351310c8b95535c0c36ba6 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 26 Sep 2024 14:18:31 +0200 >Subject: [PATCH] Bug 37398: Adjust tests > >--- > 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 068374e5622..251287a530f 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.34.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 37398
:
171416
|
171417
|
171419
|
171420
|
171421
|
171422
|
171423
|
171424
|
171881
|
171882
|
171919
|
171963
|
172187
|
172188
|
172189
|
172190
|
172191
|
172192
|
172193
|
172194
|
172195
|
172196
|
174558
|
174559
|
174560
|
174561
|
174562
|
174563
|
174564
|
174565
|
174566