Skip to content

Commit a188b5a

Browse files
Remove incorrect endpoint tests
1 parent ca0637e commit a188b5a

File tree

2 files changed

+0
-104
lines changed

2 files changed

+0
-104
lines changed

generator/ServiceModels/payment-cryptography-data/payment-cryptography-data-2022-02-03.endpoint-tests.json

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -156,17 +156,6 @@
156156
"UseDualStack": false
157157
}
158158
},
159-
{
160-
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
161-
"expect": {
162-
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
163-
},
164-
"params": {
165-
"Region": "us-iso-east-1",
166-
"UseFIPS": true,
167-
"UseDualStack": true
168-
}
169-
},
170159
{
171160
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
172161
"expect": {
@@ -180,17 +169,6 @@
180169
"UseDualStack": false
181170
}
182171
},
183-
{
184-
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
185-
"expect": {
186-
"error": "DualStack is enabled but this partition does not support DualStack"
187-
},
188-
"params": {
189-
"Region": "us-iso-east-1",
190-
"UseFIPS": false,
191-
"UseDualStack": true
192-
}
193-
},
194172
{
195173
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
196174
"expect": {
@@ -204,17 +182,6 @@
204182
"UseDualStack": false
205183
}
206184
},
207-
{
208-
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
209-
"expect": {
210-
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
211-
},
212-
"params": {
213-
"Region": "us-isob-east-1",
214-
"UseFIPS": true,
215-
"UseDualStack": true
216-
}
217-
},
218185
{
219186
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
220187
"expect": {
@@ -228,17 +195,6 @@
228195
"UseDualStack": false
229196
}
230197
},
231-
{
232-
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
233-
"expect": {
234-
"error": "DualStack is enabled but this partition does not support DualStack"
235-
},
236-
"params": {
237-
"Region": "us-isob-east-1",
238-
"UseFIPS": false,
239-
"UseDualStack": true
240-
}
241-
},
242198
{
243199
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
244200
"expect": {

sdk/test/Services/PaymentCryptographyData/UnitTests/Generated/Endpoints/PaymentCryptographyDataEndpointProviderTests.cs

Lines changed: 0 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -208,21 +208,6 @@ public void For_region_usgoveast1_with_FIPS_disabled_and_DualStack_disabled_Test
208208
Assert.AreEqual("https://dataplane.payment-cryptography.us-gov-east-1.amazonaws.com", endpoint.URL);
209209
}
210210

211-
[TestMethod]
212-
[TestCategory("UnitTest")]
213-
[TestCategory("Endpoints")]
214-
[TestCategory("PaymentCryptographyData")]
215-
[Description("For region us-iso-east-1 with FIPS enabled and DualStack enabled")]
216-
[ExpectedException(typeof(AmazonClientException), @"FIPS and DualStack are enabled, but this partition does not support one or both")]
217-
public void For_region_usisoeast1_with_FIPS_enabled_and_DualStack_enabled_Test()
218-
{
219-
var parameters = new PaymentCryptographyDataEndpointParameters();
220-
parameters["Region"] = "us-iso-east-1";
221-
parameters["UseFIPS"] = true;
222-
parameters["UseDualStack"] = true;
223-
var endpoint = new AmazonPaymentCryptographyDataEndpointProvider().ResolveEndpoint(parameters);
224-
}
225-
226211
[TestMethod]
227212
[TestCategory("UnitTest")]
228213
[TestCategory("Endpoints")]
@@ -238,21 +223,6 @@ public void For_region_usisoeast1_with_FIPS_enabled_and_DualStack_disabled_Test(
238223
Assert.AreEqual("https://dataplane.payment-cryptography-fips.us-iso-east-1.c2s.ic.gov", endpoint.URL);
239224
}
240225

241-
[TestMethod]
242-
[TestCategory("UnitTest")]
243-
[TestCategory("Endpoints")]
244-
[TestCategory("PaymentCryptographyData")]
245-
[Description("For region us-iso-east-1 with FIPS disabled and DualStack enabled")]
246-
[ExpectedException(typeof(AmazonClientException), @"DualStack is enabled but this partition does not support DualStack")]
247-
public void For_region_usisoeast1_with_FIPS_disabled_and_DualStack_enabled_Test()
248-
{
249-
var parameters = new PaymentCryptographyDataEndpointParameters();
250-
parameters["Region"] = "us-iso-east-1";
251-
parameters["UseFIPS"] = false;
252-
parameters["UseDualStack"] = true;
253-
var endpoint = new AmazonPaymentCryptographyDataEndpointProvider().ResolveEndpoint(parameters);
254-
}
255-
256226
[TestMethod]
257227
[TestCategory("UnitTest")]
258228
[TestCategory("Endpoints")]
@@ -268,21 +238,6 @@ public void For_region_usisoeast1_with_FIPS_disabled_and_DualStack_disabled_Test
268238
Assert.AreEqual("https://dataplane.payment-cryptography.us-iso-east-1.c2s.ic.gov", endpoint.URL);
269239
}
270240

271-
[TestMethod]
272-
[TestCategory("UnitTest")]
273-
[TestCategory("Endpoints")]
274-
[TestCategory("PaymentCryptographyData")]
275-
[Description("For region us-isob-east-1 with FIPS enabled and DualStack enabled")]
276-
[ExpectedException(typeof(AmazonClientException), @"FIPS and DualStack are enabled, but this partition does not support one or both")]
277-
public void For_region_usisobeast1_with_FIPS_enabled_and_DualStack_enabled_Test()
278-
{
279-
var parameters = new PaymentCryptographyDataEndpointParameters();
280-
parameters["Region"] = "us-isob-east-1";
281-
parameters["UseFIPS"] = true;
282-
parameters["UseDualStack"] = true;
283-
var endpoint = new AmazonPaymentCryptographyDataEndpointProvider().ResolveEndpoint(parameters);
284-
}
285-
286241
[TestMethod]
287242
[TestCategory("UnitTest")]
288243
[TestCategory("Endpoints")]
@@ -298,21 +253,6 @@ public void For_region_usisobeast1_with_FIPS_enabled_and_DualStack_disabled_Test
298253
Assert.AreEqual("https://dataplane.payment-cryptography-fips.us-isob-east-1.sc2s.sgov.gov", endpoint.URL);
299254
}
300255

301-
[TestMethod]
302-
[TestCategory("UnitTest")]
303-
[TestCategory("Endpoints")]
304-
[TestCategory("PaymentCryptographyData")]
305-
[Description("For region us-isob-east-1 with FIPS disabled and DualStack enabled")]
306-
[ExpectedException(typeof(AmazonClientException), @"DualStack is enabled but this partition does not support DualStack")]
307-
public void For_region_usisobeast1_with_FIPS_disabled_and_DualStack_enabled_Test()
308-
{
309-
var parameters = new PaymentCryptographyDataEndpointParameters();
310-
parameters["Region"] = "us-isob-east-1";
311-
parameters["UseFIPS"] = false;
312-
parameters["UseDualStack"] = true;
313-
var endpoint = new AmazonPaymentCryptographyDataEndpointProvider().ResolveEndpoint(parameters);
314-
}
315-
316256
[TestMethod]
317257
[TestCategory("UnitTest")]
318258
[TestCategory("Endpoints")]

0 commit comments

Comments
 (0)