From 8bb8fd48623637365c0a25a6b13e5fef23e740f5 Mon Sep 17 00:00:00 2001 From: Thomas Steur <thomas.steur@gmail.com> Date: Mon, 25 Nov 2013 05:59:56 +0000 Subject: [PATCH] refs #4225 fix js test in PhantomJS, will not work in browser... needs to be resolved. Tests should be green now --- tests/javascript/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/javascript/index.php b/tests/javascript/index.php index dedfb4f0de..685e07b140 100644 --- a/tests/javascript/index.php +++ b/tests/javascript/index.php @@ -1134,7 +1134,7 @@ if ($sqlite) { ok( /search=search%20Keyword&idsite=1/.test(results), "site search, no cat, no results count "); // Test events - ok( /(e_c=Event%20Category&e_a=Event%20Action&idsite=1).*(&e_cvar=%7B%221%22%3A%5B%22cvarEventName%22%2C%22cvarEventValue%22%5D%2C%222%22%3A%5B%22cookiename2EVENT%22%2C%22cookievalue2EVENT%22%5D%7D)/.test(results), "event Category + Action + Custom Variable"); + ok( /(e_c=Event%20Category&e_a=Event%20Action&idsite=1).*(&e_cvar=%7B%222%22%3A%5B%22cookiename2EVENT%22%2C%22cookievalue2EVENT%22%5D%2C%221%22%3A%5B%22cvarEventName%22%2C%22cvarEventValue%22%5D%7D)/.test(results), "event Category + Action + Custom Variable"); ok( /e_c=Event%20Category2&e_a=Event%20Action2&e_n=Event%20Name2&idsite=1/.test(results), "event Category + Action + Name"); ok( /e_c=Event%20Category3&e_a=Event%20Action3&e_n=Event%20Name3&e_v=3.333&idsite=1/.test(results), "event Category + Action + Name + Value"); -- GitLab