aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/UtilsTest.php
diff options
context:
space:
mode:
authorVirtualTam <virtualtam@flibidi.net>2016-01-16 16:16:56 +0100
committerVirtualTam <virtualtam@flibidi.net>2016-01-16 16:19:44 +0100
commit478ce8afb467d59eb3dce5ec4a9e9446b134aecf (patch)
tree6858a1d21267f504ddad6c40af616127cb4110b4 /tests/UtilsTest.php
parent73151d95469b6aee727f3c1f55c07bb91346f9d3 (diff)
downloadShaarli-478ce8afb467d59eb3dce5ec4a9e9446b134aecf.tar.gz
Shaarli-478ce8afb467d59eb3dce5ec4a9e9446b134aecf.tar.zst
Shaarli-478ce8afb467d59eb3dce5ec4a9e9446b134aecf.zip
Logging: improve formatting to enable fail2ban parsing
Fixes #436 Modifications: - remove calls to strval() on safe data - update the date format: 'Y/m/d_H:i:s' => 'Y/m/d H:i:s' Signed-off-by: VirtualTam <virtualtam@flibidi.net>
Diffstat (limited to 'tests/UtilsTest.php')
-rw-r--r--tests/UtilsTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/UtilsTest.php b/tests/UtilsTest.php
index 869a9695..f3bb556e 100644
--- a/tests/UtilsTest.php
+++ b/tests/UtilsTest.php
@@ -22,7 +22,7 @@ class UtilsTest extends PHPUnit_Framework_TestCase
22 protected static $testLogFile = 'tests.log'; 22 protected static $testLogFile = 'tests.log';
23 23
24 // Expected log date format 24 // Expected log date format
25 protected static $dateFormat = 'Y/m/d_H:i:s'; 25 protected static $dateFormat = 'Y/m/d H:i:s';
26 26
27 27
28 /** 28 /**