[Koha-bugs] [Bug 16160] t/db_dependent/www/search_utf8.t fails due to layout change
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Mar 30 11:32:13 CEST 2016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16160
Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #49654|0 |1
is obsolete| |
--- Comment #7 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 49675
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=49675&action=edit
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 at bugs.koha-community.org>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list