Bug 14030 - Added tests for duplicates.
authorMark Tompsett <mtompset@hotmail.com>
Tue, 21 Apr 2015 00:11:23 +0000 (20:11 -0400)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Fri, 24 Apr 2015 12:55:54 +0000 (09:55 -0300)
commitc066a8ca2f648b9c823dedf9afad01dea1a4b6b1
tree7d918df44bad13e8e9ec5b6d8dc9e86bbef36ac5
parenta91dad2b0312dc7559e59843f8b4230f1011c61e
Bug 14030 - Added tests for duplicates.

It seems that the id's are not really used, but rather
the subtags, types, and language related fields.

These tests check for duplicates.

TEST PLAN
---------
1) Apply both patches
2) prove -v t/db_dependent/Languages.t
   -- may fail if you have duplicates.
3) ./installer/data/mysql/updatedatabase.pl
   -- this will trigger the atomicupdate, which because of
      this tweak, will correct duplicates.
4) prove -v t/db_dependent/Languages.t
   -- should succeed.
5) Run the updatedatabase.pl script multiple times.
6) prove -v t/db_dependent/Languages.t
   -- should still succeed.
7) koha qa test tools.

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
No koha-qa errors, test run successfully, no more duplicates

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Fixed German description.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
installer/data/mysql/atomicupdate/bug_14030-Add_Georgian_fix_Kannada_code.sql
installer/data/mysql/mandatory/subtag_registry.sql
t/db_dependent/Languages.t