From 54d11fb6ccc5318c95a985b0001343c3f12596a6 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 31 May 2019 12:13:35 -0500 Subject: [PATCH] Bug 22990: Add POD Signed-off-by: Martin Renvoize --- C4/Output.pm | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/C4/Output.pm b/C4/Output.pm index 50a1d1e19a..5ec086cd79 100644 --- a/C4/Output.pm +++ b/C4/Output.pm @@ -312,9 +312,17 @@ sub is_ajax { To executed at the beginning of scripts to stop the script at this point if some errors are found. -Tests for module 'members': -* patron is not defined (we are looking for a patron that does no longer exist/never existed) -* The logged in user cannot see patron's infos (feature 'cannot_see_patron_infos') +A serie of tests can be run for a given module, or a specific check. +Params "module" and "check" are mutually exclusive. + +Tests for modules: +* members: + - Patron is not defined (we are looking for a patron that does no longer exist/never existed) + - The logged in user cannot see patron's infos (feature 'cannot_see_patron_infos') + +Tests for specific check: +* csrf_token + will test if the csrf_token CGI param is valid Others will be added here depending on the needs (for instance biblio does not exist will be useful). -- 2.20.1