Bugzilla – Attachment 144249 Details for
Bug 32351
Fix all TestBuilder calls failing due to wrong column names
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32351: Fix Illrequests.t
Bug-32351-Fix-Illrequestst.patch (text/plain), 1.50 KB, created by
Jonathan Druart
on 2022-11-25 11:46:00 UTC
(
hide
)
Description:
Bug 32351: Fix Illrequests.t
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2022-11-25 11:46:00 UTC
Size:
1.50 KB
patch
obsolete
>From 261c8bfd318c6cd3b40935ac3e27931a725bdd06 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Fri, 25 Nov 2022 12:45:26 +0100 >Subject: [PATCH] Bug 32351: Fix Illrequests.t > >--- > t/db_dependent/Illrequests.t | 10 ++-------- > 1 file changed, 2 insertions(+), 8 deletions(-) > >diff --git a/t/db_dependent/Illrequests.t b/t/db_dependent/Illrequests.t >index 7dd4f76a53d..f33181ce1a3 100755 >--- a/t/db_dependent/Illrequests.t >+++ b/t/db_dependent/Illrequests.t >@@ -1193,10 +1193,7 @@ subtest 'Checking out' => sub { > }); > my $library = $builder->build_object({ class => 'Koha::Libraries' }); > my $biblio = $builder->build_sample_biblio(); >- my $patron = $builder->build_object({ >- class => 'Koha::Patrons', >- value => { category_type => 'x' } >- }); >+ my $patron = $builder->build_object({ class => 'Koha::Patrons' }); > my $request = $builder->build_object({ > class => 'Koha::Illrequests', > value => { >@@ -1316,10 +1313,7 @@ subtest 'Checking out with custom due date' => sub { > $schema->storage->txn_begin; > > my $library = $builder->build_object({ class => 'Koha::Libraries' }); >- my $patron = $builder->build_object({ >- class => 'Koha::Patrons', >- value => { category_type => 'x' } >- }); >+ my $patron = $builder->build_object({ class => 'Koha::Patrons' }); > my $biblio = $builder->build_sample_biblio(); > my $itemtype_loanable = $builder->build_object({ > class => 'Koha::ItemTypes', >-- >2.25.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 32351
:
144236
|
144240
|
144243
|
144244
|
144249
|
144250
|
144251
|
144252
|
144353
|
144354
|
144355
|
144356
|
144357
|
144358
|
144359
|
144360
|
144361
|
144362
|
144363
|
144364
|
144365