Bugzilla – Attachment 89571 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.25 KB, created by
Michal Denar
on 2019-05-10 20:22:24 UTC
(
hide
)
Description:
Bug 22812: Add tests for checkrouting
Filename:
MIME Type:
Creator:
Michal Denar
Created:
2019-05-10 20:22:24 UTC
Size:
1.25 KB
patch
obsolete
>From ca6bace0de3bf36465492c723ff039156ea5f3c6 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 > >Signed-off-by: Liz Rea <wizzyrea@gmail.com> > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Signed-off-by: Michal Denar <black23@gmail.com> > >Signed-off-by: Michal Denar <black23@gmail.com> >--- > 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