]> git.koha-community.org Git - koha.git/commit
Bug 18010: Unit test for gettemplate
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Sun, 29 Jan 2017 14:52:22 +0000 (15:52 +0100)
committerMason James <mtj@kohaaloha.com>
Mon, 3 Apr 2017 15:45:18 +0000 (03:45 +1200)
commitbb51b7447fcd7592e683648f4854c15f26a57eb5
tree8325addb9dbf96f78a421419424578dd48425dad
parent198f89bf1d2f072e1a0aaea032237d470272adf3
Bug 18010: Unit test for gettemplate

A trivial test, similar to the ones in Auth.t.
Without the check in gettemplate (added in the second patch), the passwd
file will be exposed and the test fails.

Test plan:
Run t/db_dependent/Templates.t without second patch. The two tests in the
last subtest should fail.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
(cherry picked from commit 5508897d5a2b73c30d50fed26a6bfed62bf49398)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Conflicts:
t/db_dependent/Templates.t
t/db_dependent/Templates.t