Bugzilla – Attachment 89392 Details for
Bug 22812
Cannot add new subscription with strict SQL modes turned on
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22812: Add tests for checkrouting
Bug-22812-Add-tests-for-checkrouting.patch (text/plain), 1.05 KB, created by
Jonathan Druart
on 2019-05-06 18:52:27 UTC
(
hide
)
Description:
Bug 22812: Add tests for checkrouting
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2019-05-06 18:52:27 UTC
Size:
1.05 KB
patch
obsolete
>From 15708089afb2aa2d9d9b97108b37b71ba539d0c5 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 6 May 2019 13:50:26 -0500 >Subject: [PATCH] Bug 22812: Add tests for checkrouting > >--- > t/db_dependent/Serials.t | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >diff --git a/t/db_dependent/Serials.t b/t/db_dependent/Serials.t >index 8956514bfd..b096894ff8 100755 >--- a/t/db_dependent/Serials.t >+++ b/t/db_dependent/Serials.t >@@ -18,7 +18,7 @@ use Koha::DateUtils; > use Koha::Acquisition::Booksellers; > use t::lib::Mocks; > use t::lib::TestBuilder; >-use Test::More tests => 46; >+use Test::More tests => 47; > > BEGIN { > use_ok('C4::Serials'); >@@ -262,6 +262,8 @@ subtest 'test_updateClaim' => sub { > }; > > is(C4::Serials::check_routing(), undef, 'test checking route'); >+is(C4::Serials::check_routing($subscriptionid), 0, 'There should not have any routing list for the subscription'); >+# TODO really test this check_routing subroutine > > is(C4::Serials::addroutingmember(),undef, 'test adding route member'); > >-- >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 22812
:
89391
|
89392
|
89393
|
89454
|
89455
|
89456
|
89535
|
89536
|
89537
|
89561
|
89570
|
89571
|
89572
|
89573
|
89590
|
89591
|
89592
|
89593