Bugzilla – Attachment 64489 Details for
Bug 18651
Move of checkouts is still not correctly handled
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18651: Fix tests if no circ rule exist
Bug-18651-Fix-tests-if-no-circ-rule-exist.patch (text/plain), 1.40 KB, created by
Jonathan Druart
on 2017-06-21 14:07:18 UTC
(
hide
)
Description:
Bug 18651: Fix tests if no circ rule exist
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2017-06-21 14:07:18 UTC
Size:
1.40 KB
patch
obsolete
>From 3ff0ec3d39275bea95b6cad566721ccb357fe78e Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 21 Jun 2017 11:05:59 -0300 >Subject: [PATCH] Bug 18651: Fix tests if no circ rule exist > >The following test is failing on Jenkins: > # Subtest: Handle ids duplication > 1..4 > ok 1 - No account lines should exist on old issue_id > not ok 2 - Two account lines should exist on new issue_id > ok 3 - AddReturn should return the issue with the new issue_id > ok 4 - If an item is checked-in, it should be moved to old_issues even if the issue_id already existed in the table >not ok 4 - Handle ids duplication > >When no circ rule exist >--- > t/db_dependent/Circulation/Returns.t | 11 +++++++++++ > 1 file changed, 11 insertions(+) > >diff --git a/t/db_dependent/Circulation/Returns.t b/t/db_dependent/Circulation/Returns.t >index 69cf309..19e6313 100644 >--- a/t/db_dependent/Circulation/Returns.t >+++ b/t/db_dependent/Circulation/Returns.t >@@ -47,6 +47,17 @@ my $schema = Koha::Database->schema; > $schema->storage->txn_begin; > > my $builder = t::lib::TestBuilder->new(); >+Koha::IssuingRules->search->delete; >+my $rule = Koha::IssuingRule->new( >+ { >+ categorycode => '*', >+ itemtype => '*', >+ branchcode => '*', >+ maxissueqty => 99, >+ issuelength => 1, >+ } >+); >+$rule->store(); > > subtest "InProcessingToShelvingCart tests" => sub { > >-- >2.1.4
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 18651
:
63629
|
63630
|
63631
|
63632
|
63633
|
63634
|
63635
|
63636
|
63637
|
63654
|
63659
|
63706
|
64352
|
64353
|
64354
|
64355
|
64356
|
64357
|
64394
|
64395
|
64396
|
64397
|
64398
|
64399
|
64448
|
64449
|
64450
|
64451
|
64452
|
64453
|
64454
|
64455
| 64489 |
64490
|
64495
|
65134