Bugzilla – Attachment 102939 Details for
Bug 22887
authorised_values is missing a unique constraint on category + authorised_value
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22887: (RM follow-up) Fix Charges Test
Bug-22887-RM-follow-up-Fix-Charges-Test.patch (text/plain), 1.14 KB, created by
Martin Renvoize (ashimema)
on 2020-04-14 18:52:59 UTC
(
hide
)
Description:
Bug 22887: (RM follow-up) Fix Charges Test
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2020-04-14 18:52:59 UTC
Size:
1.14 KB
patch
obsolete
>From 60f4104626e4c846f089789fdf67adcf7db3e8f3 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Tue, 14 Apr 2020 19:51:45 +0100 >Subject: [PATCH] Bug 22887: (RM follow-up) Fix Charges Test > >The charges test added a duplicate authorised value needlessly (it's >already present in the sample data). > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > t/db_dependent/Koha/Charges/Sales.t | 9 --------- > 1 file changed, 9 deletions(-) > >diff --git a/t/db_dependent/Koha/Charges/Sales.t b/t/db_dependent/Koha/Charges/Sales.t >index 25fc6a6257..c3064fbba0 100644 >--- a/t/db_dependent/Koha/Charges/Sales.t >+++ b/t/db_dependent/Koha/Charges/Sales.t >@@ -194,15 +194,6 @@ subtest 'purchase tests' => sub { > } > ); > >- my $payment_type = Koha::AuthorisedValue->new( >- { >- category => 'PAYMENT_TYPE', >- authorised_value => 'CASH', >- lib => 'Cash transaction', >- lib_opac => 'Cash transaction', >- } >- )->store; >- > my $item1 = Koha::Account::DebitType->new( > { > code => 'COPYRANDOM', >-- >2.20.1
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 22887
:
89550
|
101790
|
101791
|
101792
|
101793
|
101889
|
101890
|
101891
|
101892
|
102409
|
102410
|
102411
|
102412
|
102511
|
102876
|
102877
|
102878
|
102879
|
102880
|
102898
| 102939 |
102999
|
103000