From 8113322022b3b8eb772303f32926f30239bff3df Mon Sep 17 00:00:00 2001 From: Dominique Fournier Date: Thu, 3 Sep 2020 08:13:54 +0000 Subject: [PATCH] SSE: update tests git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@6074 bf3deb0d-5f1a-0410-827f-c0cc1f45334c --- Tests/sseTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tests/sseTest.php b/Tests/sseTest.php index 2e4b83b..3f6fc09 100644 --- a/Tests/sseTest.php +++ b/Tests/sseTest.php @@ -125,11 +125,11 @@ class sseTest extends PHPUnit_Framework_TestCase file_put_contents ("/tmp/dfwTestSSE1", "WILL BE SEEN 1\n"); }, false); pcntl_alarm(3); - function lowerHandlerDataonly ($val, $param1, $param2) { + function lowerHandlerDataonlyWithParams ($val, $param1, $param2) { return $param1.strtolower ($val).$param2; } $sse->setBackendFiles ("/tmp/dfwTestSSE1") - ->setHandlerDataonly ("lowerHandlerDataonly", "PRE", "POST") + ->setHandlerDataonly ("lowerHandlerDataonlyWithParams", "PRE", "POST") ->setPingTime(1); $sse->loop (); }