@@ -115,7 +115,7 @@ public void TestCreateImpressionEventNoAttributes()
115115 { "anonymize_ip" , false } ,
116116 } ;
117117
118- var expectedLogEvent = new LogEvent ( "https://logx.optimizely.com/v1/events" ,
118+ var expectedLogEvent = new LogEvent ( EventFactory . EventEndpoints [ "US" ] ,
119119 payloadParams ,
120120 "POST" ,
121121 new Dictionary < string , string >
@@ -207,7 +207,7 @@ public void TestCreateImpressionEventWithAttributes()
207207 { "anonymize_ip" , false } ,
208208 } ;
209209
210- var expectedLogEvent = new LogEvent ( "https://logx.optimizely.com/v1/events" ,
210+ var expectedLogEvent = new LogEvent ( EventFactory . EventEndpoints [ "US" ] ,
211211 payloadParams ,
212212 "POST" ,
213213 new Dictionary < string , string >
@@ -327,7 +327,7 @@ public void TestCreateImpressionEventWithTypedAttributes()
327327 { "anonymize_ip" , false } ,
328328 } ;
329329
330- var expectedLogEvent = new LogEvent ( "https://logx.optimizely.com/v1/events" ,
330+ var expectedLogEvent = new LogEvent ( EventFactory . EventEndpoints [ "US" ] ,
331331 payloadParams ,
332332 "POST" ,
333333 new Dictionary < string , string >
@@ -441,7 +441,7 @@ public void TestCreateImpressionEventRemovesInvalidAttributesFromPayload()
441441 { "anonymize_ip" , false } ,
442442 } ;
443443
444- var expectedLogEvent = new LogEvent ( "https://logx.optimizely.com/v1/events" ,
444+ var expectedLogEvent = new LogEvent ( EventFactory . EventEndpoints [ "US" ] ,
445445 payloadParams ,
446446 "POST" ,
447447 new Dictionary < string , string >
@@ -531,7 +531,7 @@ public void TestCreateConversionEventNoAttributesNoValue()
531531 } ;
532532
533533 var expectedEvent = new LogEvent (
534- "https://logx.optimizely.com/v1/events" ,
534+ EventFactory . EventEndpoints [ "US" ] ,
535535 payloadParams ,
536536 "POST" ,
537537 new Dictionary < string , string >
@@ -617,7 +617,7 @@ public void TestCreateConversionEventWithAttributesNoValue()
617617 } ;
618618
619619 var expectedEvent = new LogEvent (
620- "https://logx.optimizely.com/v1/events" ,
620+ EventFactory . EventEndpoints [ "US" ] ,
621621 payloadParams ,
622622 "POST" ,
623623 new Dictionary < string , string >
@@ -709,7 +709,7 @@ public void TestCreateConversionEventNoAttributesWithValue()
709709 } ;
710710
711711 var expectedEvent = new LogEvent (
712- "https://logx.optimizely.com/v1/events" ,
712+ EventFactory . EventEndpoints [ "US" ] ,
713713 payloadParams ,
714714 "POST" ,
715715 new Dictionary < string , string >
@@ -809,7 +809,7 @@ public void TestCreateConversionEventWithAttributesWithValue()
809809 } ;
810810
811811 var expectedEvent = new LogEvent (
812- "https://logx.optimizely.com/v1/events" ,
812+ EventFactory . EventEndpoints [ "US" ] ,
813813 payloadParams ,
814814 "POST" ,
815815 new Dictionary < string , string >
@@ -909,7 +909,7 @@ public void TestCreateConversionEventNoAttributesWithInvalidValue()
909909 } ;
910910
911911 var expectedEvent = new LogEvent (
912- "https://logx.optimizely.com/v1/events" ,
912+ EventFactory . EventEndpoints [ "US" ] ,
913913 payloadParams ,
914914 "POST" ,
915915 new Dictionary < string , string >
@@ -1003,7 +1003,7 @@ public void TestConversionEventWithNumericTag()
10031003 } ;
10041004
10051005 var expectedEvent = new LogEvent (
1006- "https://logx.optimizely.com/v1/events" ,
1006+ EventFactory . EventEndpoints [ "US" ] ,
10071007 payloadParams ,
10081008 "POST" ,
10091009 new Dictionary < string , string >
@@ -1096,7 +1096,7 @@ public void TestConversionEventWithFalsyNumericAndRevenueValues()
10961096 } ;
10971097
10981098 var expectedEvent = new LogEvent (
1099- "https://logx.optimizely.com/v1/events" ,
1099+ EventFactory . EventEndpoints [ "US" ] ,
11001100 payloadParams ,
11011101 "POST" ,
11021102 new Dictionary < string , string >
@@ -1189,7 +1189,7 @@ public void TestConversionEventWithNumericValue1()
11891189 } ;
11901190
11911191 var expectedEvent = new LogEvent (
1192- "https://logx.optimizely.com/v1/events" ,
1192+ EventFactory . EventEndpoints [ "US" ] ,
11931193 payloadParams ,
11941194 "POST" ,
11951195 new Dictionary < string , string >
@@ -1282,7 +1282,7 @@ public void TestConversionEventWithRevenueValue1()
12821282 } ;
12831283
12841284 var expectedEvent = new LogEvent (
1285- "https://logx.optimizely.com/v1/events" ,
1285+ EventFactory . EventEndpoints [ "US" ] ,
12861286 payloadParams ,
12871287 "POST" ,
12881288 new Dictionary < string , string >
@@ -1381,7 +1381,7 @@ public void TestCreateConversionEventWithBucketingIDAttribute()
13811381 } ;
13821382
13831383 var expectedEvent = new LogEvent (
1384- "https://logx.optimizely.com/v1/events" ,
1384+ EventFactory . EventEndpoints [ "US" ] ,
13851385 payloadParams ,
13861386 "POST" ,
13871387 new Dictionary < string , string >
@@ -1487,7 +1487,7 @@ public void TestCreateImpressionEventWithBucketingIDAttribute()
14871487 { "anonymize_ip" , false } ,
14881488 } ;
14891489
1490- var expectedLogEvent = new LogEvent ( "https://logx.optimizely.com/v1/events" ,
1490+ var expectedLogEvent = new LogEvent ( EventFactory . EventEndpoints [ "US" ] ,
14911491 payloadParams ,
14921492 "POST" ,
14931493 new Dictionary < string , string >
@@ -1587,7 +1587,7 @@ public void TestCreateImpressionEventWhenBotFilteringIsProvidedInDatafile()
15871587 { "anonymize_ip" , false } ,
15881588 } ;
15891589
1590- var expectedLogEvent = new LogEvent ( "https://logx.optimizely.com/v1/events" ,
1590+ var expectedLogEvent = new LogEvent ( EventFactory . EventEndpoints [ "US" ] ,
15911591 payloadParams ,
15921592 "POST" ,
15931593 new Dictionary < string , string >
@@ -1680,7 +1680,7 @@ public void TestCreateImpressionEventWhenBotFilteringIsNotProvidedInDatafile()
16801680 { "anonymize_ip" , false } ,
16811681 } ;
16821682
1683- var expectedLogEvent = new LogEvent ( "https://logx.optimizely.com/v1/events" ,
1683+ var expectedLogEvent = new LogEvent ( EventFactory . EventEndpoints [ "US" ] ,
16841684 payloadParams ,
16851685 "POST" ,
16861686 new Dictionary < string , string >
@@ -1770,7 +1770,7 @@ public void TestCreateConversionEventWhenBotFilteringIsProvidedInDatafile()
17701770 } ;
17711771
17721772 var expectedEvent = new LogEvent (
1773- "https://logx.optimizely.com/v1/events" ,
1773+ EventFactory . EventEndpoints [ "US" ] ,
17741774 payloadParams ,
17751775 "POST" ,
17761776 new Dictionary < string , string >
@@ -1856,7 +1856,7 @@ public void TestCreateConversionEventWhenBotFilteringIsNotProvidedInDatafile()
18561856 } ;
18571857
18581858 var expectedEvent = new LogEvent (
1859- "https://logx.optimizely.com/v1/events" ,
1859+ EventFactory . EventEndpoints [ "US" ] ,
18601860 payloadParams ,
18611861 "POST" ,
18621862 new Dictionary < string , string >
@@ -1989,7 +1989,7 @@ public void TestCreateConversionEventWhenEventUsedInMultipleExp()
19891989
19901990
19911991 var expectedLogEvent = new LogEvent (
1992- "https://logx.optimizely.com/v1/events" ,
1992+ EventFactory . EventEndpoints [ "US" ] ,
19931993 payloadParams ,
19941994 "POST" ,
19951995 new Dictionary < string , string >
@@ -2082,7 +2082,7 @@ public void TestCreateConversionEventRemovesInvalidAttributesFromPayload()
20822082 } ;
20832083
20842084 var expectedEvent = new LogEvent (
2085- "https://logx.optimizely.com/v1/events" ,
2085+ EventFactory . EventEndpoints [ "US" ] ,
20862086 payloadParams ,
20872087 "POST" ,
20882088 new Dictionary < string , string >
0 commit comments