Bugzilla – Attachment 81998 Details for
Bug 20996
Fix API response time on ILL request endpoint
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20996: Remove warning 'Un-mocked method'
Bug-20996-Remove-warning-Un-mocked-method.patch (text/plain), 1.00 KB, created by
Jonathan Druart
on 2018-11-06 17:26:11 UTC
(
hide
)
Description:
Bug 20996: Remove warning 'Un-mocked method'
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2018-11-06 17:26:11 UTC
Size:
1.00 KB
patch
obsolete
>From e06592d096fb950e11bdc237418a2e8d866fd377 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 6 Nov 2018 14:25:02 -0300 >Subject: [PATCH] Bug 20996: Remove warning 'Un-mocked method' > >t/db_dependent/api/v1/illrequests.t .. Un-mocked method 'status_graph()' >called at /home/vagrant/kohaclone/Koha/Illrequest.pm line 439. > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > t/db_dependent/api/v1/illrequests.t | 3 +++ > 1 file changed, 3 insertions(+) > >diff --git a/t/db_dependent/api/v1/illrequests.t b/t/db_dependent/api/v1/illrequests.t >index ec471830fb..44fcd9a292 100644 >--- a/t/db_dependent/api/v1/illrequests.t >+++ b/t/db_dependent/api/v1/illrequests.t >@@ -56,6 +56,9 @@ subtest 'list() tests' => sub { > } > } > ); >+ $backend->mock( >+ 'status_graph', sub {}, >+ ); > > # Mock Koha::Illrequest::load_backend (to load Mocked Backend) > my $illreqmodule = Test::MockModule->new('Koha::Illrequest'); >-- >2.11.0
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 20996
:
76687
|
76688
|
76705
|
77100
|
79379
|
79576
|
79583
|
79584
|
79585
|
79586
|
79587
|
79588
|
79589
|
79590
|
79591
|
79592
|
81715
|
81716
|
81717
|
81718
|
81719
|
81720
|
81747
|
81748
|
81749
|
81750
|
81751
|
81752
|
81753
|
81755
|
81756
|
81757
|
81758
|
81759
|
81760
|
81761
|
81908
|
81909
|
81928
|
81967
|
81994
|
81996
|
81997
| 81998