]> git.koha-community.org Git - koha.git/commit
Bug 24756: Fix failing tests by removing temporary filenames
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Fri, 28 Feb 2020 11:13:16 +0000 (11:13 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 28 Feb 2020 11:29:01 +0000 (11:29 +0000)
commite1ea21415ea3457bcf855485907b59e0b5b4db42
treec9827baa0ea19327554d5425f4b4b05a79936c6a
parent2c8a1176041f5ab13c68f42ff585332b11a07339
Bug 24756: Fix failing tests by removing temporary filenames

In order to resolve the random failure, that might be caused by reusing
filenames in File::Temp and caching xslt code, this patch replaces the
temporary file by using the code parameter.

Note: Since XSLT uses a digest based on the passed code fragment, we will
exclude collisions here.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
t/db_dependent/Koha/XSLT/Security.t