[Koha-bugs] [Bug 8407] xt/tt_valid.t is too strict

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jul 12 22:14:52 CEST 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8407

--- Comment #3 from Chris Cormack <chris at bigballofwax.co.nz> ---
These seems to work ok, the template still passes the translated test.

Before the patch
 perl xt/author/translatable-templates.t               
1..2
ok 1 - opac templates are translatable
ok 2 - intranet templates are translatable

 xt/tt_valid.t                            2012-07-13 08:04:57 christopher pts/2
1..2
not ok 1 - TT syntax: not using TT directive within HTML tag
#   Failed test 'TT syntax: not using TT directive within HTML tag'
#   at xt/tt_valid.t line 55.
# Files list: 
# intranet-tmpl/prog/en/modules/admin/searchengine/solr/indexes.tt: 132, 133,
134, 135, 136, 137, 141, 144
ok 2 - Token received same as original put on stack
# Looks like you failed 1 test of 2.


After the patch

 perl xt/tt_valid.t                                    2012-07-13 08:09:14
christopher pts/2
1..2
not ok 1 - TT syntax: not using TT directive within HTML tag
#   Failed test 'TT syntax: not using TT directive within HTML tag'
#   at xt/tt_valid.t line 60.
# Files list: 
# intranet-tmpl/prog/en/modules/admin/searchengine/solr/indexes.tt: 141, 144
ok 2 - Token received same as original put on stack
# Looks like you failed 1 test of 2.


Dropped the errors in the tt down from 8 to 2.

Looking at that file
It appears to still be the checked="checked" lines it doesn't like. 

If we fix that up, Ill do the first signoff.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list