File tree 1 file changed +4
-0
lines changed
core-api/src/test/java/com/optimizely/ab
1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -707,6 +707,8 @@ public void decisionNotification() {
707
707
OptimizelyJSON variables = optimizely .getAllFeatureVariables (flagKey , userId );
708
708
String ruleKey = "exp_no_audience" ;
709
709
List <String > reasons = Collections .emptyList ();
710
+ String experimentId = "10420810910" ;
711
+ String variationId = "10418551353" ;
710
712
711
713
final Map <String , Object > testDecisionInfoMap = new HashMap <>();
712
714
testDecisionInfoMap .put (FLAG_KEY , flagKey );
@@ -715,6 +717,8 @@ public void decisionNotification() {
715
717
testDecisionInfoMap .put (VARIABLES , variables .toMap ());
716
718
testDecisionInfoMap .put (RULE_KEY , ruleKey );
717
719
testDecisionInfoMap .put (REASONS , reasons );
720
+ testDecisionInfoMap .put (EXPERIMENT_ID , experimentId );
721
+ testDecisionInfoMap .put (VARIATION_ID , variationId );
718
722
719
723
Map <String , Object > attributes = Collections .singletonMap ("gender" , "f" );
720
724
OptimizelyUserContext user = optimizely .createUserContext (userId , attributes );
You can’t perform that action at this time.
0 commit comments