Bug 21190: Add subtest to Log.t for GDPR logging
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Fri, 25 Oct 2019 07:32:56 +0000 (07:32 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 14 Apr 2020 15:13:38 +0000 (16:13 +0100)
commit135ab4c26ad8f32f4aed291578145b82574ab075
tree48d35cdfaae3d3b981d1b0981c3e068db854fe5a
parent1709388c3a9c59f8d5bcd9d73add2236acdda84f
Bug 21190: Add subtest to Log.t for GDPR logging

Apart from a new subtest, doing some more cleanup:
[1] Copyright statement
[2] Removing the (unneeded) flush
[3] Removing C4::Log from the BEGIN block; we seem to skip that nowadays.
[4] $succes goes to the subtest, $schema and $dbh are global our vars.
    Not required but just what we should do if it would run under Plack.

Test plan:
Run t/db_dependent/Log.t

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jon Knight <J.P.Knight@lboro.ac.uk>
Signed-off-by: Michal Denar <black23@gmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
t/db_dependent/Log.t