Koha-clms/t/Koha
David Cook 67d27898df Bug 33967: Add unit test to ensure SetEnv doesn't compromise $env
This patch includes a unit test which checks the memory address
of the $env hashref in middlewares before and after
Koha::Middleware::Env is applied.

It succeeds when the same $env is maintained before and after
this middleware. It fails if the $env has been overwritten with
a new hashref (as evidenced by the new memory address for the
hash).

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 2c7142fe94)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit f73dbd00ad)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
2023-07-12 09:41:27 +00:00
..
Auth Bug 31378: (follow-up) Fix t/Koha/Auth/Permissions.t 2022-11-08 23:40:30 -03:00
Authority
…
Database
…
I18N/po/xx_XX/LC_MESSAGES
…
Middleware Bug 33967: Add unit test to ensure SetEnv doesn't compromise $env 2023-07-12 09:41:27 +00:00
Object
…
Plugins
…
REST/Plugin Bug 32713: Unit tests 2023-03-21 16:30:33 +00:00
Result
…
SearchEngine Bug 31106: Unit tests 2022-07-18 14:37:35 -03:00
Util Bug 30678: (follow-up) Add oclc_number routine and friends 2022-07-22 14:58:11 -03:00
Config.t
…
Email.t
…
Exceptions.t
…
I18N.t
…
ItemType.t
…
RDF.t
…
Script.t
…
Script_cron.t
…
Z3950responder.t
…
sleep.pl
…
wait.pl
…