@@ -1334,7 +1334,7 @@ public void ValidateRequestByIntegrationConfig_Debug_Missing_CustomerId()
1334
1334
1335
1335
var result = KnownUser . ValidateRequestByIntegrationConfig ( "http://test.com?event1=true" , expiredDebugToken , customerIntegration , null , "secretKey" ) ;
1336
1336
1337
- Assert . Equal ( "https://api2.queue-it.net/diagnostics/connector/error/setup" , result . RedirectUrl ) ;
1337
+ Assert . Equal ( "https://api2.queue-it.net/diagnostics/connector/error/?code= setup" , result . RedirectUrl ) ;
1338
1338
Assert . Empty ( mockResponse . CookiesValue ) ;
1339
1339
}
1340
1340
@@ -1350,7 +1350,7 @@ public void ValidateRequestByIntegrationConfig_Debug_Missing_Secretkey()
1350
1350
1351
1351
var result = KnownUser . ValidateRequestByIntegrationConfig ( "http://test.com?event1=true" , expiredDebugToken , customerIntegration , "customerid" , null ) ;
1352
1352
1353
- Assert . Equal ( "https://api2.queue-it.net/diagnostics/connector/error/setup" , result . RedirectUrl ) ;
1353
+ Assert . Equal ( "https://api2.queue-it.net/diagnostics/connector/error/?code= setup" , result . RedirectUrl ) ;
1354
1354
Assert . Empty ( mockResponse . CookiesValue ) ;
1355
1355
}
1356
1356
@@ -1366,7 +1366,7 @@ public void ValidateRequestByIntegrationConfig_Debug_ExpiredToken()
1366
1366
1367
1367
var result = KnownUser . ValidateRequestByIntegrationConfig ( "http://test.com?event1=true" , expiredDebugToken , customerIntegration , "customerId" , "secretKey" ) ;
1368
1368
1369
- Assert . Equal ( "https://customerId.api2.queue-it.net/customerId/diagnostics/connector/error/timestamp" , result . RedirectUrl ) ;
1369
+ Assert . Equal ( "https://customerId.api2.queue-it.net/customerId/diagnostics/connector/error/?code= timestamp" , result . RedirectUrl ) ;
1370
1370
Assert . Empty ( mockResponse . CookiesValue ) ;
1371
1371
}
1372
1372
@@ -1383,7 +1383,7 @@ public void ValidateRequestByIntegrationConfig_Debug_ModifiedToken()
1383
1383
1384
1384
var result = KnownUser . ValidateRequestByIntegrationConfig ( "http://test.com?event1=true" , invalidDebugToken , customerIntegration , "customerId" , "secretKey" ) ;
1385
1385
1386
- Assert . Equal ( "https://customerId.api2.queue-it.net/customerId/diagnostics/connector/error/hash" , result . RedirectUrl ) ;
1386
+ Assert . Equal ( "https://customerId.api2.queue-it.net/customerId/diagnostics/connector/error/?code= hash" , result . RedirectUrl ) ;
1387
1387
Assert . Empty ( mockResponse . CookiesValue ) ;
1388
1388
}
1389
1389
@@ -1514,7 +1514,7 @@ public void ResolveQueueRequestByLocalConfig_Debug_Missing_CustomerId()
1514
1514
1515
1515
var result = KnownUser . ResolveQueueRequestByLocalConfig ( "http://test.com?event1=true" , expiredDebugToken , eventConfig , null , "secretKey" ) ;
1516
1516
1517
- Assert . Equal ( "https://api2.queue-it.net/diagnostics/connector/error/setup" , result . RedirectUrl ) ;
1517
+ Assert . Equal ( "https://api2.queue-it.net/diagnostics/connector/error/?code= setup" , result . RedirectUrl ) ;
1518
1518
Assert . Empty ( mockResponse . CookiesValue ) ;
1519
1519
}
1520
1520
@@ -1530,7 +1530,7 @@ public void ResolveQueueRequestByLocalConfig_Debug_Missing_SecretKey()
1530
1530
1531
1531
var result = KnownUser . ResolveQueueRequestByLocalConfig ( "http://test.com?event1=true" , expiredDebugToken , eventConfig , "customerid" , null ) ;
1532
1532
1533
- Assert . Equal ( "https://api2.queue-it.net/diagnostics/connector/error/setup" , result . RedirectUrl ) ;
1533
+ Assert . Equal ( "https://api2.queue-it.net/diagnostics/connector/error/?code= setup" , result . RedirectUrl ) ;
1534
1534
Assert . Empty ( mockResponse . CookiesValue ) ;
1535
1535
}
1536
1536
@@ -1546,7 +1546,7 @@ public void ResolveQueueRequestByLocalConfig_Debug_ExpiredToken()
1546
1546
1547
1547
var result = KnownUser . ResolveQueueRequestByLocalConfig ( "http://test.com?event1=true" , expiredDebugToken , eventConfig , "customerId" , "secretKey" ) ;
1548
1548
1549
- Assert . Equal ( "https://customerId.api2.queue-it.net/customerId/diagnostics/connector/error/timestamp" , result . RedirectUrl ) ;
1549
+ Assert . Equal ( "https://customerId.api2.queue-it.net/customerId/diagnostics/connector/error/?code= timestamp" , result . RedirectUrl ) ;
1550
1550
Assert . Empty ( mockResponse . CookiesValue ) ;
1551
1551
}
1552
1552
@@ -1563,7 +1563,7 @@ public void ResolveQueueRequestByLocalConfig_Debug_ModifiedToken()
1563
1563
1564
1564
var result = KnownUser . ResolveQueueRequestByLocalConfig ( "http://test.com?event1=true" , invalidDebugToken , eventConfig , "customerId" , "secretKey" ) ;
1565
1565
1566
- Assert . Equal ( "https://customerId.api2.queue-it.net/customerId/diagnostics/connector/error/hash" , result . RedirectUrl ) ;
1566
+ Assert . Equal ( "https://customerId.api2.queue-it.net/customerId/diagnostics/connector/error/?code= hash" , result . RedirectUrl ) ;
1567
1567
Assert . Empty ( mockResponse . CookiesValue ) ;
1568
1568
}
1569
1569
@@ -1689,7 +1689,7 @@ public void CancelRequestByLocalConfig_Debug_Missing_CustomerId()
1689
1689
1690
1690
var result = KnownUser . CancelRequestByLocalConfig ( "http://test.com?event1=true" , token , eventConfig , null , "secretkey" ) ;
1691
1691
1692
- Assert . Equal ( "https://api2.queue-it.net/diagnostics/connector/error/setup" , result . RedirectUrl ) ;
1692
+ Assert . Equal ( "https://api2.queue-it.net/diagnostics/connector/error/?code= setup" , result . RedirectUrl ) ;
1693
1693
Assert . Empty ( mockResponse . CookiesValue ) ;
1694
1694
}
1695
1695
@@ -1705,7 +1705,7 @@ public void CancelRequestByLocalConfig_Debug_Missing_SecretKey()
1705
1705
1706
1706
var result = KnownUser . CancelRequestByLocalConfig ( "http://test.com?event1=true" , token , eventConfig , "customerid" , null ) ;
1707
1707
1708
- Assert . Equal ( "https://api2.queue-it.net/diagnostics/connector/error/setup" , result . RedirectUrl ) ;
1708
+ Assert . Equal ( "https://api2.queue-it.net/diagnostics/connector/error/?code= setup" , result . RedirectUrl ) ;
1709
1709
Assert . Empty ( mockResponse . CookiesValue ) ;
1710
1710
}
1711
1711
@@ -1721,7 +1721,7 @@ public void CancelRequestByLocalConfig_Debug_ExpiredToken()
1721
1721
1722
1722
var result = KnownUser . CancelRequestByLocalConfig ( "http://test.com?event1=true" , expiredDebugToken , eventConfig , "customerId" , "secretKey" ) ;
1723
1723
1724
- Assert . Equal ( "https://customerId.api2.queue-it.net/customerId/diagnostics/connector/error/timestamp" , result . RedirectUrl ) ;
1724
+ Assert . Equal ( "https://customerId.api2.queue-it.net/customerId/diagnostics/connector/error/?code= timestamp" , result . RedirectUrl ) ;
1725
1725
Assert . Empty ( mockResponse . CookiesValue ) ;
1726
1726
}
1727
1727
@@ -1738,7 +1738,7 @@ public void CancelRequestByLocalConfig_Debug_ModifiedToken()
1738
1738
1739
1739
var result = KnownUser . CancelRequestByLocalConfig ( "http://test.com?event1=true" , invalidDebugToken , eventConfig , "customerId" , "secretKey" ) ;
1740
1740
1741
- Assert . Equal ( "https://customerId.api2.queue-it.net/customerId/diagnostics/connector/error/hash" , result . RedirectUrl ) ;
1741
+ Assert . Equal ( "https://customerId.api2.queue-it.net/customerId/diagnostics/connector/error/?code= hash" , result . RedirectUrl ) ;
1742
1742
Assert . Empty ( mockResponse . CookiesValue ) ;
1743
1743
}
1744
1744
0 commit comments