File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
core-api/src/test/java/com/optimizely/ab Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -707,6 +707,8 @@ public void decisionNotification() {
707707 OptimizelyJSON variables = optimizely .getAllFeatureVariables (flagKey , userId );
708708 String ruleKey = "exp_no_audience" ;
709709 List <String > reasons = Collections .emptyList ();
710+ String experimentId = "10420810910" ;
711+ String variationId = "10418551353" ;
710712
711713 final Map <String , Object > testDecisionInfoMap = new HashMap <>();
712714 testDecisionInfoMap .put (FLAG_KEY , flagKey );
@@ -715,6 +717,8 @@ public void decisionNotification() {
715717 testDecisionInfoMap .put (VARIABLES , variables .toMap ());
716718 testDecisionInfoMap .put (RULE_KEY , ruleKey );
717719 testDecisionInfoMap .put (REASONS , reasons );
720+ testDecisionInfoMap .put (EXPERIMENT_ID , experimentId );
721+ testDecisionInfoMap .put (VARIATION_ID , variationId );
718722
719723 Map <String , Object > attributes = Collections .singletonMap ("gender" , "f" );
720724 OptimizelyUserContext user = optimizely .createUserContext (userId , attributes );
You can’t perform that action at this time.
0 commit comments