@@ -4009,7 +4009,7 @@ public function testGetFeatureVariableString()
4009
4009
);
4010
4010
}
4011
4011
4012
- public function testGetFeatureVariableJson ()
4012
+ public function testGetFeatureVariableJSON ()
4013
4013
{
4014
4014
$ optimizelyMock = $ this ->getMockBuilder (Optimizely::class)
4015
4015
->setConstructorArgs (array ($ this ->datafile , null , $ this ->loggerMock ))
@@ -4023,11 +4023,11 @@ public function testGetFeatureVariableJson()
4023
4023
->will ($ this ->returnValueMap ($ map ));
4024
4024
$ this ->assertSame (
4025
4025
json_decode ("{ \"text \": \"variable value \"} " , true ),
4026
- $ optimizelyMock ->getFeatureVariableJson ('json_single_variable_feature ' , 'json_variable ' , 'user_id ' , [])
4026
+ $ optimizelyMock ->getFeatureVariableJSON ('json_single_variable_feature ' , 'json_variable ' , 'user_id ' , [])
4027
4027
);
4028
4028
}
4029
4029
4030
- public function testGetFeatureVariableJsonCallsDecisionListenerGivenUserInExperimentAndFeatureFlagIsEnabled ()
4030
+ public function testGetFeatureVariableJSONCallsDecisionListenerGivenUserInExperimentAndFeatureFlagIsEnabled ()
4031
4031
{
4032
4032
// should return specific value
4033
4033
$ decisionServiceMock = $ this ->getMockBuilder (DecisionService::class)
@@ -4076,7 +4076,7 @@ public function testGetFeatureVariableJsonCallsDecisionListenerGivenUserInExperi
4076
4076
4077
4077
$ this ->optimizelyObject ->notificationCenter = $ this ->notificationCenterMock ;
4078
4078
4079
- $ this ->optimizelyObject ->getFeatureVariableJson ('multiple_variables_feature ' , 'json_variable ' , 'user_id ' , []);
4079
+ $ this ->optimizelyObject ->getFeatureVariableJSON ('multiple_variables_feature ' , 'json_variable ' , 'user_id ' , []);
4080
4080
}
4081
4081
4082
4082
public function testGetAllFeatureVariablesReturnsValuesGivenUserInExperimentAndFeatureFlagIsEnabled ()
0 commit comments