From b73d8baf89d03ac3155e7a3ad1bdbf76e1d713b7 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 1db39723b4..ce33710a06 100644 --- a/C4/Output.pm +++ b/C4/Output.pm @@ -321,9 +321,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