[Koha-bugs] [Bug 12653] PROG/CCSR deprecation: Correct hard-coded opac-tmpl/prog path in tests
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Aug 11 19:12:35 CEST 2014
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12653
--- Comment #3 from Bernardo Gonzalez Kriegel <bgkriegel at gmail.com> ---
To test more:
1) Edit some TT file (opac/staff) and add somewhere something like
<span [% IF ( value ) %]name="name"[% ELSE %] js="_('">TEST [% INCLUDE
'fail.inc' %]</span>
Save and run the tests
xt/single_quotes.t
xt/author/valid-templates.t
xt/tt_valid.t
must fail
2) To fail icondirectories.t the only way I found is ranaming/removing
itemtypeimg dir,
$ mv koha-tmpl/opac-tmpl/bootstrap/itemtypeimg
koha-tmpl/opac-tmpl/bootstrap/item
If the directory exists, even if empty, the test pass.
Before patch it pass even deleting the icon dir...
3) To fail translatable-templates.t, simply change the name of 'en' template
dir for your current staff (prog) or opac (bootstrap/prog/ccsr)
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list