@@ -890,7 +890,7 @@ public function testTrackNoAttributesNoEventValue()
890
890
->method ('log ' )
891
891
->with (
892
892
Logger::DEBUG ,
893
- 'Dispatching conversion event to URL logx.optimizely.com/track with params param1= val1. '
893
+ 'Dispatching conversion event to URL logx.optimizely.com/track with params {" param1":" val1"} . '
894
894
);
895
895
896
896
$ optlyObject = new Optimizely ($ this ->datafile , new ValidEventDispatcher (), $ this ->loggerMock );
@@ -1028,7 +1028,7 @@ public function testTrackNoAttributesNoEventValueAfterSetForcedVariation()
1028
1028
->method ('log ' )
1029
1029
->with (
1030
1030
Logger::DEBUG ,
1031
- 'Dispatching conversion event to URL logx.optimizely.com/track with params param1= val1. '
1031
+ 'Dispatching conversion event to URL logx.optimizely.com/track with params {" param1":" val1"} . '
1032
1032
);
1033
1033
1034
1034
$ optlyObject = new Optimizely ($ this ->datafile , new ValidEventDispatcher (), $ this ->loggerMock );
@@ -1168,7 +1168,7 @@ public function testTrackWithAttributesNoEventValue()
1168
1168
->method ('log ' )
1169
1169
->with (
1170
1170
Logger::DEBUG ,
1171
- 'Dispatching conversion event to URL logx.optimizely.com/track with params param1= val1. '
1171
+ 'Dispatching conversion event to URL logx.optimizely.com/track with params {" param1":" val1"} . '
1172
1172
);
1173
1173
1174
1174
$ optlyObject = new Optimizely ($ this ->datafile , new ValidEventDispatcher (), $ this ->loggerMock );
@@ -1304,7 +1304,7 @@ public function testTrackNoAttributesWithDeprecatedEventValue()
1304
1304
->method ('log ' )
1305
1305
->with (
1306
1306
Logger::DEBUG ,
1307
- 'Dispatching conversion event to URL logx.optimizely.com/track with params param1= val1. '
1307
+ 'Dispatching conversion event to URL logx.optimizely.com/track with params {" param1":" val1"} . '
1308
1308
);
1309
1309
1310
1310
$ optlyObject = new Optimizely ($ this ->datafile , new ValidEventDispatcher (), $ this ->loggerMock );
@@ -1430,7 +1430,7 @@ public function testTrackNoAttributesWithEventValue()
1430
1430
->method ('log ' )
1431
1431
->with (
1432
1432
Logger::DEBUG ,
1433
- 'Dispatching conversion event to URL logx.optimizely.com/track with params param1= val1. '
1433
+ 'Dispatching conversion event to URL logx.optimizely.com/track with params {" param1":" val1"} . '
1434
1434
);
1435
1435
1436
1436
$ optlyObject = new Optimizely ($ this ->datafile , new ValidEventDispatcher (), $ this ->loggerMock );
@@ -1525,7 +1525,7 @@ public function testTrackNoAttributesWithInvalidEventValue()
1525
1525
->with (Logger::INFO , 'Tracking event "purchase" for user "test_user". ' );
1526
1526
$ this ->loggerMock ->expects ($ this ->at ($ callIndex ++))
1527
1527
->method ('log ' )
1528
- ->with (Logger::DEBUG , 'Dispatching conversion event to URL logx.optimizely.com/track with params param1= val1. ' );
1528
+ ->with (Logger::DEBUG , 'Dispatching conversion event to URL logx.optimizely.com/track with params {" param1":" val1"} . ' );
1529
1529
1530
1530
$ optlyObject = new Optimizely ($ this ->datafile , new ValidEventDispatcher (), $ this ->loggerMock );
1531
1531
@@ -1669,7 +1669,7 @@ public function testTrackWithAttributesWithDeprecatedEventValue()
1669
1669
->method ('log ' )
1670
1670
->with (
1671
1671
Logger::DEBUG ,
1672
- 'Dispatching conversion event to URL logx.optimizely.com/track with params param1= val1. '
1672
+ 'Dispatching conversion event to URL logx.optimizely.com/track with params {" param1":" val1"} . '
1673
1673
);
1674
1674
1675
1675
@@ -1809,7 +1809,7 @@ public function testTrackWithAttributesWithEventValue()
1809
1809
->method ('log ' )
1810
1810
->with (
1811
1811
Logger::DEBUG ,
1812
- 'Dispatching conversion event to URL logx.optimizely.com/track with params param1= val1. '
1812
+ 'Dispatching conversion event to URL logx.optimizely.com/track with params {" param1":" val1"} . '
1813
1813
);
1814
1814
1815
1815
$ optlyObject = new Optimizely ($ this ->datafile , new ValidEventDispatcher (), $ this ->loggerMock );
@@ -3094,7 +3094,7 @@ public function testSendImpressionEventWithNoAttributes()
3094
3094
->method ('log ' )
3095
3095
->with (
3096
3096
Logger::DEBUG ,
3097
- 'Dispatching impression event to URL logx.optimizely.com/decision with params param1= val1& param2= val2. '
3097
+ 'Dispatching impression event to URL logx.optimizely.com/decision with params {" param1":" val1"," param2":" val2"} . '
3098
3098
);
3099
3099
3100
3100
$ optlyObject ->sendImpressionEvent ('group_experiment_1 ' , 'group_exp_1_var_2 ' , 'user_1 ' , null );
@@ -3173,7 +3173,7 @@ public function testSendImpressionEventWithAttributes()
3173
3173
->method ('log ' )
3174
3174
->with (
3175
3175
Logger::DEBUG ,
3176
- 'Dispatching impression event to URL logx.optimizely.com/decision with params param1= val1. '
3176
+ 'Dispatching impression event to URL logx.optimizely.com/decision with params {" param1":" val1"} . '
3177
3177
);
3178
3178
3179
3179
$ eventBuilder = new \ReflectionProperty (Optimizely::class, '_eventBuilder ' );
0 commit comments