Koha/t/db_dependent/Biblio
Marcel de Rooy 5a63523f59 Bug 19096: Adjusts unit tests
The subroutines listed in the former patch are extensively tested in
Biblio.t, TransformKohaToMarc.t and TransformMarcToKoha.t.
These tests do no longer use new frameworks to add mappings.

In Biblio.t and TransformMarcToKoha.t we also test passing an individual
framework code (for an empty framework) to see if Default is still used.
Note that this parameter will be removed later on.

In Items.t the cache keys MarcStructure-0- and MarcStructure-1- are not
touched, so they do not need to be cleared. The cache key
default_value_for_mod_marc- should be used without framework now.
Similar adjustments in Items/AutomaticItemModificationByAge.t and
Reserves.t.

Furthermore the subtest for _build_default_values_for_mod_marc in Items.t
is adjusted since framework is no longer relevant. The biblio record with
items is created in a new framework, but the mappings from Default are
consulted.

Test plan:
Run all adjusted unit tests.

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2017-12-07 14:44:15 -03:00
..
Isbd.t Bug 18951: Adjust Isbd.t 2017-07-24 13:37:18 -03:00
TransformHtmlToMarc.t Bug 15572: Add tests for TransformHtmlToMarc 2016-01-25 07:09:50 -07:00
TransformKohaToMarc.t Bug 19096: Adjusts unit tests 2017-12-07 14:44:15 -03:00
TransformMarcToKoha.t Bug 19096: Adjusts unit tests 2017-12-07 14:44:15 -03:00