Koha/t/db_dependent/www
Tomas Cohen Arazi 6a04ba598f Bug 16160: Fix t/../www/search_utf8.t for layout change
Some of the include files in tools/manage-marc-import.tt introduced a new form object
so the form index for the tests needed to be changed to match the new layout.

While testing this I also found that due to the new record_type input in stage-marc-import.tt
the tests would fail if run on an instance with already imported stuff (i.e. the import id
was defaulting to zero). This might have been the cause of some random failures in jenkins
befire we started to DROP / re-CREATE the DB.

To test:
- Run (on kohadevbox:ansible)
  $ sudo koha-shell kohadev
  $ cd kohaclone
  $ prove t/db_dependent/www/search_utf8.t
=> FAIL: mainsubmitform is not found, and the tests hang
- Apply the patch
- re-run the tests:
 $ prove t/db_dependent/www/search_utf8.t
=> SUCCESS: Tests now pass!
- Sign off

Regards

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
2016-03-30 13:44:16 +00:00
..
data Bug 13264: Follow up on record files: deleted fields (952/995) with items info 2015-01-13 12:43:27 -03:00
auth_values_input_www.t Bug 10363: (QA followups) Fix tests 2015-10-21 17:23:38 -03:00
batch.t Bug 8300: Add mechanized unit test for batch import 2013-05-01 07:57:11 -04:00
history.t Bug 13579: Prefer like instead of ok to match a regex 2015-01-14 12:24:29 -03:00
search_utf8.t Bug 16160: Fix t/../www/search_utf8.t for layout change 2016-03-30 13:44:16 +00:00