]> 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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 18 Jul 2017 14:42:44 +0000 (16:42 +0200)
commit97498a6a7b2ab43fc1d0a42bb93b91f3020e9ffd
tree92cf6a59394bdb16c95e59745525e84cb0c48658
parentecc3bce9b5dc7c1ebc48181b9568699d37bc98ec
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>
t/db_dependent/AuthorisedValues.t