]> 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)
committerBrendan A Gallagher <brendan@bywatersolutions.com>
Thu, 23 Mar 2017 00:36:12 +0000 (00:36 +0000)
commit5508897d5a2b73c30d50fed26a6bfed62bf49398
tree7d3cc788b4cffeaad8c2ec5ec436546f7cf29c79
parenta6f50cbcb92c2575eb31e906ea54bf0386654906
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>
t/db_dependent/Templates.t