Bugzilla – Attachment 175924 Details for
Bug 38782
ERM eUsage related tests are failing
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38782: Apply same fix for CounterFile.t
Bug-38782-Apply-same-fix-for-CounterFilet.patch (text/plain), 1.03 KB, created by
Pedro Amorim
on 2024-12-24 10:47:16 UTC
(
hide
)
Description:
Bug 38782: Apply same fix for CounterFile.t
Filename:
MIME Type:
Creator:
Pedro Amorim
Created:
2024-12-24 10:47:16 UTC
Size:
1.03 KB
patch
obsolete
>From f84554d166440c857a0348de6786081b0d9403e9 Mon Sep 17 00:00:00 2001 >From: Pedro Amorim <pedro.amorim@ptfs-europe.com> >Date: Tue, 24 Dec 2024 10:47:25 +0000 >Subject: [PATCH] Bug 38782: Apply same fix for CounterFile.t > >prove t/db_dependent/Koha/ERM/EUsage/CounterFile.t >--- > t/db_dependent/Koha/ERM/EUsage/CounterFile.t | 3 +++ > 1 file changed, 3 insertions(+) > >diff --git a/t/db_dependent/Koha/ERM/EUsage/CounterFile.t b/t/db_dependent/Koha/ERM/EUsage/CounterFile.t >index 65c363fa520..229e861e457 100755 >--- a/t/db_dependent/Koha/ERM/EUsage/CounterFile.t >+++ b/t/db_dependent/Koha/ERM/EUsage/CounterFile.t >@@ -46,6 +46,9 @@ subtest 'store' => sub { > > $schema->storage->txn_begin; > >+ my $patron = Koha::Patrons->search()->last; >+ t::lib::Mocks::mock_userenv( { number => $patron->borrowernumber } ); # Is superlibrarian >+ > my $usage_data_provider = $builder->build_object( > { class => 'Koha::ERM::EUsage::UsageDataProviders', value => { name => 'TestProvider' } } ); > $usage_data_provider->{report_type} = 'TR_J1'; >-- >2.39.5
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 38782
:
175922
|
175923
|
175924
|
175925
|
175926
|
175927
|
175928
|
175929
|
175930