@@ -1334,7 +1334,7 @@ public void ValidateRequestByIntegrationConfig_Debug_Missing_CustomerId()
13341334
13351335 var result = KnownUser . ValidateRequestByIntegrationConfig ( "http://test.com?event1=true" , expiredDebugToken , customerIntegration , null , "secretKey" ) ;
13361336
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 ) ;
13381338 Assert . Empty ( mockResponse . CookiesValue ) ;
13391339 }
13401340
@@ -1350,7 +1350,7 @@ public void ValidateRequestByIntegrationConfig_Debug_Missing_Secretkey()
13501350
13511351 var result = KnownUser . ValidateRequestByIntegrationConfig ( "http://test.com?event1=true" , expiredDebugToken , customerIntegration , "customerid" , null ) ;
13521352
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 ) ;
13541354 Assert . Empty ( mockResponse . CookiesValue ) ;
13551355 }
13561356
@@ -1366,7 +1366,7 @@ public void ValidateRequestByIntegrationConfig_Debug_ExpiredToken()
13661366
13671367 var result = KnownUser . ValidateRequestByIntegrationConfig ( "http://test.com?event1=true" , expiredDebugToken , customerIntegration , "customerId" , "secretKey" ) ;
13681368
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 ) ;
13701370 Assert . Empty ( mockResponse . CookiesValue ) ;
13711371 }
13721372
@@ -1383,7 +1383,7 @@ public void ValidateRequestByIntegrationConfig_Debug_ModifiedToken()
13831383
13841384 var result = KnownUser . ValidateRequestByIntegrationConfig ( "http://test.com?event1=true" , invalidDebugToken , customerIntegration , "customerId" , "secretKey" ) ;
13851385
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 ) ;
13871387 Assert . Empty ( mockResponse . CookiesValue ) ;
13881388 }
13891389
@@ -1514,7 +1514,7 @@ public void ResolveQueueRequestByLocalConfig_Debug_Missing_CustomerId()
15141514
15151515 var result = KnownUser . ResolveQueueRequestByLocalConfig ( "http://test.com?event1=true" , expiredDebugToken , eventConfig , null , "secretKey" ) ;
15161516
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 ) ;
15181518 Assert . Empty ( mockResponse . CookiesValue ) ;
15191519 }
15201520
@@ -1530,7 +1530,7 @@ public void ResolveQueueRequestByLocalConfig_Debug_Missing_SecretKey()
15301530
15311531 var result = KnownUser . ResolveQueueRequestByLocalConfig ( "http://test.com?event1=true" , expiredDebugToken , eventConfig , "customerid" , null ) ;
15321532
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 ) ;
15341534 Assert . Empty ( mockResponse . CookiesValue ) ;
15351535 }
15361536
@@ -1546,7 +1546,7 @@ public void ResolveQueueRequestByLocalConfig_Debug_ExpiredToken()
15461546
15471547 var result = KnownUser . ResolveQueueRequestByLocalConfig ( "http://test.com?event1=true" , expiredDebugToken , eventConfig , "customerId" , "secretKey" ) ;
15481548
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 ) ;
15501550 Assert . Empty ( mockResponse . CookiesValue ) ;
15511551 }
15521552
@@ -1563,7 +1563,7 @@ public void ResolveQueueRequestByLocalConfig_Debug_ModifiedToken()
15631563
15641564 var result = KnownUser . ResolveQueueRequestByLocalConfig ( "http://test.com?event1=true" , invalidDebugToken , eventConfig , "customerId" , "secretKey" ) ;
15651565
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 ) ;
15671567 Assert . Empty ( mockResponse . CookiesValue ) ;
15681568 }
15691569
@@ -1689,7 +1689,7 @@ public void CancelRequestByLocalConfig_Debug_Missing_CustomerId()
16891689
16901690 var result = KnownUser . CancelRequestByLocalConfig ( "http://test.com?event1=true" , token , eventConfig , null , "secretkey" ) ;
16911691
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 ) ;
16931693 Assert . Empty ( mockResponse . CookiesValue ) ;
16941694 }
16951695
@@ -1705,7 +1705,7 @@ public void CancelRequestByLocalConfig_Debug_Missing_SecretKey()
17051705
17061706 var result = KnownUser . CancelRequestByLocalConfig ( "http://test.com?event1=true" , token , eventConfig , "customerid" , null ) ;
17071707
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 ) ;
17091709 Assert . Empty ( mockResponse . CookiesValue ) ;
17101710 }
17111711
@@ -1721,7 +1721,7 @@ public void CancelRequestByLocalConfig_Debug_ExpiredToken()
17211721
17221722 var result = KnownUser . CancelRequestByLocalConfig ( "http://test.com?event1=true" , expiredDebugToken , eventConfig , "customerId" , "secretKey" ) ;
17231723
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 ) ;
17251725 Assert . Empty ( mockResponse . CookiesValue ) ;
17261726 }
17271727
@@ -1738,7 +1738,7 @@ public void CancelRequestByLocalConfig_Debug_ModifiedToken()
17381738
17391739 var result = KnownUser . CancelRequestByLocalConfig ( "http://test.com?event1=true" , invalidDebugToken , eventConfig , "customerId" , "secretKey" ) ;
17401740
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 ) ;
17421742 Assert . Empty ( mockResponse . CookiesValue ) ;
17431743 }
17441744
0 commit comments