@@ -115,7 +115,7 @@ public void TestCreateImpressionEventNoAttributes()
115
115
{ "anonymize_ip" , false } ,
116
116
} ;
117
117
118
- var expectedLogEvent = new LogEvent ( "https://logx.optimizely.com/v1/events" ,
118
+ var expectedLogEvent = new LogEvent ( EventFactory . EventEndpoints [ "US" ] ,
119
119
payloadParams ,
120
120
"POST" ,
121
121
new Dictionary < string , string >
@@ -207,7 +207,7 @@ public void TestCreateImpressionEventWithAttributes()
207
207
{ "anonymize_ip" , false } ,
208
208
} ;
209
209
210
- var expectedLogEvent = new LogEvent ( "https://logx.optimizely.com/v1/events" ,
210
+ var expectedLogEvent = new LogEvent ( EventFactory . EventEndpoints [ "US" ] ,
211
211
payloadParams ,
212
212
"POST" ,
213
213
new Dictionary < string , string >
@@ -327,7 +327,7 @@ public void TestCreateImpressionEventWithTypedAttributes()
327
327
{ "anonymize_ip" , false } ,
328
328
} ;
329
329
330
- var expectedLogEvent = new LogEvent ( "https://logx.optimizely.com/v1/events" ,
330
+ var expectedLogEvent = new LogEvent ( EventFactory . EventEndpoints [ "US" ] ,
331
331
payloadParams ,
332
332
"POST" ,
333
333
new Dictionary < string , string >
@@ -441,7 +441,7 @@ public void TestCreateImpressionEventRemovesInvalidAttributesFromPayload()
441
441
{ "anonymize_ip" , false } ,
442
442
} ;
443
443
444
- var expectedLogEvent = new LogEvent ( "https://logx.optimizely.com/v1/events" ,
444
+ var expectedLogEvent = new LogEvent ( EventFactory . EventEndpoints [ "US" ] ,
445
445
payloadParams ,
446
446
"POST" ,
447
447
new Dictionary < string , string >
@@ -531,7 +531,7 @@ public void TestCreateConversionEventNoAttributesNoValue()
531
531
} ;
532
532
533
533
var expectedEvent = new LogEvent (
534
- "https://logx.optimizely.com/v1/events" ,
534
+ EventFactory . EventEndpoints [ "US" ] ,
535
535
payloadParams ,
536
536
"POST" ,
537
537
new Dictionary < string , string >
@@ -617,7 +617,7 @@ public void TestCreateConversionEventWithAttributesNoValue()
617
617
} ;
618
618
619
619
var expectedEvent = new LogEvent (
620
- "https://logx.optimizely.com/v1/events" ,
620
+ EventFactory . EventEndpoints [ "US" ] ,
621
621
payloadParams ,
622
622
"POST" ,
623
623
new Dictionary < string , string >
@@ -709,7 +709,7 @@ public void TestCreateConversionEventNoAttributesWithValue()
709
709
} ;
710
710
711
711
var expectedEvent = new LogEvent (
712
- "https://logx.optimizely.com/v1/events" ,
712
+ EventFactory . EventEndpoints [ "US" ] ,
713
713
payloadParams ,
714
714
"POST" ,
715
715
new Dictionary < string , string >
@@ -809,7 +809,7 @@ public void TestCreateConversionEventWithAttributesWithValue()
809
809
} ;
810
810
811
811
var expectedEvent = new LogEvent (
812
- "https://logx.optimizely.com/v1/events" ,
812
+ EventFactory . EventEndpoints [ "US" ] ,
813
813
payloadParams ,
814
814
"POST" ,
815
815
new Dictionary < string , string >
@@ -909,7 +909,7 @@ public void TestCreateConversionEventNoAttributesWithInvalidValue()
909
909
} ;
910
910
911
911
var expectedEvent = new LogEvent (
912
- "https://logx.optimizely.com/v1/events" ,
912
+ EventFactory . EventEndpoints [ "US" ] ,
913
913
payloadParams ,
914
914
"POST" ,
915
915
new Dictionary < string , string >
@@ -1003,7 +1003,7 @@ public void TestConversionEventWithNumericTag()
1003
1003
} ;
1004
1004
1005
1005
var expectedEvent = new LogEvent (
1006
- "https://logx.optimizely.com/v1/events" ,
1006
+ EventFactory . EventEndpoints [ "US" ] ,
1007
1007
payloadParams ,
1008
1008
"POST" ,
1009
1009
new Dictionary < string , string >
@@ -1096,7 +1096,7 @@ public void TestConversionEventWithFalsyNumericAndRevenueValues()
1096
1096
} ;
1097
1097
1098
1098
var expectedEvent = new LogEvent (
1099
- "https://logx.optimizely.com/v1/events" ,
1099
+ EventFactory . EventEndpoints [ "US" ] ,
1100
1100
payloadParams ,
1101
1101
"POST" ,
1102
1102
new Dictionary < string , string >
@@ -1189,7 +1189,7 @@ public void TestConversionEventWithNumericValue1()
1189
1189
} ;
1190
1190
1191
1191
var expectedEvent = new LogEvent (
1192
- "https://logx.optimizely.com/v1/events" ,
1192
+ EventFactory . EventEndpoints [ "US" ] ,
1193
1193
payloadParams ,
1194
1194
"POST" ,
1195
1195
new Dictionary < string , string >
@@ -1282,7 +1282,7 @@ public void TestConversionEventWithRevenueValue1()
1282
1282
} ;
1283
1283
1284
1284
var expectedEvent = new LogEvent (
1285
- "https://logx.optimizely.com/v1/events" ,
1285
+ EventFactory . EventEndpoints [ "US" ] ,
1286
1286
payloadParams ,
1287
1287
"POST" ,
1288
1288
new Dictionary < string , string >
@@ -1381,7 +1381,7 @@ public void TestCreateConversionEventWithBucketingIDAttribute()
1381
1381
} ;
1382
1382
1383
1383
var expectedEvent = new LogEvent (
1384
- "https://logx.optimizely.com/v1/events" ,
1384
+ EventFactory . EventEndpoints [ "US" ] ,
1385
1385
payloadParams ,
1386
1386
"POST" ,
1387
1387
new Dictionary < string , string >
@@ -1487,7 +1487,7 @@ public void TestCreateImpressionEventWithBucketingIDAttribute()
1487
1487
{ "anonymize_ip" , false } ,
1488
1488
} ;
1489
1489
1490
- var expectedLogEvent = new LogEvent ( "https://logx.optimizely.com/v1/events" ,
1490
+ var expectedLogEvent = new LogEvent ( EventFactory . EventEndpoints [ "US" ] ,
1491
1491
payloadParams ,
1492
1492
"POST" ,
1493
1493
new Dictionary < string , string >
@@ -1587,7 +1587,7 @@ public void TestCreateImpressionEventWhenBotFilteringIsProvidedInDatafile()
1587
1587
{ "anonymize_ip" , false } ,
1588
1588
} ;
1589
1589
1590
- var expectedLogEvent = new LogEvent ( "https://logx.optimizely.com/v1/events" ,
1590
+ var expectedLogEvent = new LogEvent ( EventFactory . EventEndpoints [ "US" ] ,
1591
1591
payloadParams ,
1592
1592
"POST" ,
1593
1593
new Dictionary < string , string >
@@ -1680,7 +1680,7 @@ public void TestCreateImpressionEventWhenBotFilteringIsNotProvidedInDatafile()
1680
1680
{ "anonymize_ip" , false } ,
1681
1681
} ;
1682
1682
1683
- var expectedLogEvent = new LogEvent ( "https://logx.optimizely.com/v1/events" ,
1683
+ var expectedLogEvent = new LogEvent ( EventFactory . EventEndpoints [ "US" ] ,
1684
1684
payloadParams ,
1685
1685
"POST" ,
1686
1686
new Dictionary < string , string >
@@ -1770,7 +1770,7 @@ public void TestCreateConversionEventWhenBotFilteringIsProvidedInDatafile()
1770
1770
} ;
1771
1771
1772
1772
var expectedEvent = new LogEvent (
1773
- "https://logx.optimizely.com/v1/events" ,
1773
+ EventFactory . EventEndpoints [ "US" ] ,
1774
1774
payloadParams ,
1775
1775
"POST" ,
1776
1776
new Dictionary < string , string >
@@ -1856,7 +1856,7 @@ public void TestCreateConversionEventWhenBotFilteringIsNotProvidedInDatafile()
1856
1856
} ;
1857
1857
1858
1858
var expectedEvent = new LogEvent (
1859
- "https://logx.optimizely.com/v1/events" ,
1859
+ EventFactory . EventEndpoints [ "US" ] ,
1860
1860
payloadParams ,
1861
1861
"POST" ,
1862
1862
new Dictionary < string , string >
@@ -1989,7 +1989,7 @@ public void TestCreateConversionEventWhenEventUsedInMultipleExp()
1989
1989
1990
1990
1991
1991
var expectedLogEvent = new LogEvent (
1992
- "https://logx.optimizely.com/v1/events" ,
1992
+ EventFactory . EventEndpoints [ "US" ] ,
1993
1993
payloadParams ,
1994
1994
"POST" ,
1995
1995
new Dictionary < string , string >
@@ -2082,7 +2082,7 @@ public void TestCreateConversionEventRemovesInvalidAttributesFromPayload()
2082
2082
} ;
2083
2083
2084
2084
var expectedEvent = new LogEvent (
2085
- "https://logx.optimizely.com/v1/events" ,
2085
+ EventFactory . EventEndpoints [ "US" ] ,
2086
2086
payloadParams ,
2087
2087
"POST" ,
2088
2088
new Dictionary < string , string >
0 commit comments