Bugzilla – Attachment 149218 Details for
Bug 33419
Make home library and holding library in items mandatory by default
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33419: Update basic_workflow.t
Bug-33419-Update-basicworkflowt.patch (text/plain), 2.05 KB, created by
Laura Escamilla
on 2023-04-05 15:06:32 UTC
(
hide
)
Description:
Bug 33419: Update basic_workflow.t
Filename:
MIME Type:
Creator:
Laura Escamilla
Created:
2023-04-05 15:06:32 UTC
Size:
2.05 KB
patch
obsolete
>From af9467a7686532fa54cc751c70d6778c263e837a Mon Sep 17 00:00:00 2001 >From: John Doe <you@example.com> >Date: Wed, 5 Apr 2023 14:47:06 +0000 >Subject: [PATCH] Bug 33419: Update basic_workflow.t > >--- > t/db_dependent/selenium/basic_workflow.t | 9 +++++++++ > 1 file changed, 9 insertions(+) > >diff --git a/t/db_dependent/selenium/basic_workflow.t b/t/db_dependent/selenium/basic_workflow.t >index 40434f3a75..d98fd4630e 100755 >--- a/t/db_dependent/selenium/basic_workflow.t >+++ b/t/db_dependent/selenium/basic_workflow.t >@@ -132,6 +132,8 @@ SKIP: { > > my $itemtype = $sample_data->{itemtype}; > >+ my $homelibrary = $sample_data->{homelibrary}; >+ > my @biblionumbers; > for my $i ( 1 .. $number_of_biblios_to_insert ) { > my $biblio = MARC::Record->new(); >@@ -141,12 +143,14 @@ SKIP: { > MARC::Field->new('200', ' ', ' ', a => 'test biblio '.$i), > MARC::Field->new('200', ' ', ' ', f => 'test author '.$i), > MARC::Field->new('200', ' ', ' ', b => $itemtype->{itemtype}), >+ MARC::Field->new('200', ' ', ' ', d => $homelibrary->{homelibrary}), > ); > } else { > $biblio->append_fields( > MARC::Field->new('245', ' ', ' ', a => 'test biblio '.$i), > MARC::Field->new('100', ' ', ' ', a => 'test author '.$i), > MARC::Field->new('942', ' ', ' ', c => $itemtype->{itemtype}), >+ MARC::Field->new('942', ' ', ' ', b => $homelibrary->{homelibrary}), > ); > } > my ($biblionumber, $biblioitemnumber) = AddBiblio($biblio, ''); >@@ -206,6 +210,11 @@ SKIP: { > $v = strftime("%Y-%m-%d", localtime); > $effective_input = $driver->find_element('//div[@id="subfield952w"]/input[@class="input_marceditor flatpickr-input"]'); > } >+ elsif ( >+ $id =~ m|^tag_952_subfield_a| # homelibrary >+ ) { >+ next; # auto-filled >+ } > elsif ( > $id =~ m|^tag_952_subfield_y| # itemtype > ) { >-- >2.30.2
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 33419
:
149211
|
149213
|
149214
|
149218
|
150462
|
150530
|
150531
|
150532
|
150553
|
150555
|
150556