[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 Oct 20 06:32:29 CEST 2014


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

--- Comment #6 from M. Tompsett <mtompset at hotmail.com> ---
Comment on attachment 32477
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=32477
Bug 12653: PROG/CCSR deprecation: Correct hard-coded opac-tmpl/prog path in
tests

Review of attachment 32477:
 --> (http://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=12653&attachment=32477)
-----------------------------------------------------------------

::: xt/author/translatable-templates.t
@@ +27,4 @@
>  
>  =cut
>  
> +use Test::More tests => 4; # FIXME: this must be set to total number of themes opac+staff

We should not be adding "FIXME" when modifying it to this should not be
difficult. The number of themes (opac+staff) in known by line 49. Just add a
calculation to set $number_of_tests_run.

  use Test::More;
  ... run your tests ...
  done_testing( $number_of_tests_run );

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


More information about the Koha-bugs mailing list