From af2391a4a0c6bdf11fc073f5382a7783a1925d9c 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 39fbfb0d89..627dfc4ddb 100644 --- a/C4/Output.pm +++ b/C4/Output.pm @@ -318,9 +318,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