]> git.koha-community.org Git - koha.git/commit
Bug 18748: Noisy t/db_dependent/AuthorisedValues.t
authorMark Tompsett <mtompset@hotmail.com>
Wed, 7 Jun 2017 16:53:52 +0000 (12:53 -0400)
committerKatrin Fischer <katrin.fischer.83@web.de>
Wed, 19 Jul 2017 21:23:03 +0000 (23:23 +0200)
commite0bf7dc8d6fde72678d6011609b2b09cae5978b6
tree286a4cb54381b787d093d71244f5fcf970501b41
parentfb17b3c9c6e5d8dab44b8187c76d1fec04fbba14
Bug 18748: Noisy t/db_dependent/AuthorisedValues.t

This noise is from a failure. This patch expands the delete
to 952$c for the ACQ framework as per comment #5.

TEST PLAN
---------

insert into marc_subfield_structure (tagfield,tagsubfield,liblibrarian, libopac, repeatable, mandatory, kohafield,tab,authorised_value,authtypecode,value_builder,isurl,hidden,frameworkcode,seealso,link,defaultvalue,maxlength) values (952,'c','Shelving location','Shelving location',0,0,'items.location',10,'LOC','','',0,0,'ACQ','','',null,9999);
-- this makes sure you have a pre-existing 952$c ACQ record.

prove t/db_dependent/AuthorisedValues.t
-- should have ugly message like in comment #0
apply patch
prove t/db_dependent/AuthorisedValues.t
-- should be green
run koha qa test tools

Signed-off-by: Lee Jamison <ldjamison@marywood.edu>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 441f6fac33975f7e0f7c96b262bc0c0ee3b0c82e)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 97498a6a7b2ab43fc1d0a42bb93b91f3020e9ffd)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
t/db_dependent/AuthorisedValues.t