Bugzilla – Attachment 116561 Details for
Bug 24446
Stockrotation: Update to use daterequested in branchtransfers
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24446: Update transferbook Unit Test
Bug-24446-Update-transferbook-Unit-Test.patch (text/plain), 1.29 KB, created by
Martin Renvoize (ashimema)
on 2021-02-09 11:11:51 UTC
(
hide
)
Description:
Bug 24446: Update transferbook Unit Test
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2021-02-09 11:11:51 UTC
Size:
1.29 KB
patch
obsolete
>From 09c335d8298f5ab6e6d4136481bf18c55dd76b87 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Thu, 8 Oct 2020 09:02:50 +0100 >Subject: [PATCH] Bug 24446: Update transferbook Unit Test >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >We updated C4::Circulation::transferbook to return the to_branch branchcode as >the data entity for 'WasTransfered'. This patch updates the corresponding unit >test. > >To test: >1/ Run t/db_dependent/Circulation/transferbook.t >2/ Signoff if it passes > >Signed-off-by: Kathleen Milne <kathleen.milne@cne-siar.gov.uk> >Signed-off-by: Joonas Kylmälä <joonas.kylmala@helsinki.fi> >--- > t/db_dependent/Circulation/transferbook.t | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/t/db_dependent/Circulation/transferbook.t b/t/db_dependent/Circulation/transferbook.t >index 61318d5c27..54d4b65819 100755 >--- a/t/db_dependent/Circulation/transferbook.t >+++ b/t/db_dependent/Circulation/transferbook.t >@@ -83,7 +83,7 @@ subtest 'field population tests' => sub { > is( $dotransfer, 1, 'Transfer succeeded' ); > is_deeply( > $messages, >- { 'WasTransfered' => 1 }, >+ { 'WasTransfered' => $library2->branchcode }, > "WasTransfered was set correctly" > ); > >-- >2.20.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 24446
:
105943
|
105944
|
105945
|
107246
|
107247
|
107248
|
107249
|
107250
|
107252
|
107253
|
107254
|
107255
|
107256
|
107301
|
107302
|
107303
|
107304
|
107305
|
110280
|
110281
|
110282
|
110283
|
110533
|
110534
|
110535
|
110536
|
110537
|
110538
|
110539
|
110540
|
110541
|
110542
|
111322
|
116557
|
116558
|
116559
|
116560
|
116561
|
116562
|
116563
|
116564
|
116565
|
116566
|
116567
|
116568
|
116569
|
116570
|
117589
|
117590
|
117591
|
117592
|
117593
|
117594
|
117595
|
117596
|
117597
|
117598
|
117599
|
117600
|
117601
|
117602
|
117603
|
117604
|
117605
|
117606
|
117607
|
120116