From 03ef5f0b13041760da3c7ff7044acb75b74ae31b Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 14 Jan 2025 12:18:01 +0000 Subject: [PATCH] chore(internal): skip some tests (#2327) --- tests/api-resources/dns/settings/views.test.ts | 6 ++++-- tests/api-resources/page-rules.test.ts | 12 ++++++++---- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/tests/api-resources/dns/settings/views.test.ts b/tests/api-resources/dns/settings/views.test.ts index 2164c16cdd..eec2490f80 100644 --- a/tests/api-resources/dns/settings/views.test.ts +++ b/tests/api-resources/dns/settings/views.test.ts @@ -10,7 +10,8 @@ const client = new Cloudflare({ }); describe('resource views', () => { - test('create: only required params', async () => { + // generated params are incorrect + test.skip('create: only required params', async () => { const responsePromise = client.dns.settings.views.create({ account_id: '023e105f4ecef8ad9ca31a8372d0c353', }); @@ -23,7 +24,8 @@ describe('resource views', () => { expect(dataAndResponse.response).toBe(rawResponse); }); - test('create: required and optional params', async () => { + // generated params are incorrect + test.skip('create: required and optional params', async () => { const response = await client.dns.settings.views.create({ account_id: '023e105f4ecef8ad9ca31a8372d0c353', name: 'my view', diff --git a/tests/api-resources/page-rules.test.ts b/tests/api-resources/page-rules.test.ts index 41516f3fb7..f37479340f 100644 --- a/tests/api-resources/page-rules.test.ts +++ b/tests/api-resources/page-rules.test.ts @@ -10,7 +10,8 @@ const client = new Cloudflare({ }); describe('resource pageRules', () => { - test('create: only required params', async () => { + // generated params are incorrect + test.skip('create: only required params', async () => { const responsePromise = client.pageRules.create({ zone_id: '023e105f4ecef8ad9ca31a8372d0c353', actions: [{}], @@ -25,7 +26,8 @@ describe('resource pageRules', () => { expect(dataAndResponse.response).toBe(rawResponse); }); - test('create: required and optional params', async () => { + // generated params are incorrect + test.skip('create: required and optional params', async () => { const response = await client.pageRules.create({ zone_id: '023e105f4ecef8ad9ca31a8372d0c353', actions: [{ id: 'browser_check', value: 'on' }], @@ -35,7 +37,8 @@ describe('resource pageRules', () => { }); }); - test('update: only required params', async () => { + // generated params are incorrect + test.skip('update: only required params', async () => { const responsePromise = client.pageRules.update('023e105f4ecef8ad9ca31a8372d0c353', { zone_id: '023e105f4ecef8ad9ca31a8372d0c353', actions: [{}], @@ -50,7 +53,8 @@ describe('resource pageRules', () => { expect(dataAndResponse.response).toBe(rawResponse); }); - test('update: required and optional params', async () => { + // generated params are incorrect + test.skip('update: required and optional params', async () => { const response = await client.pageRules.update('023e105f4ecef8ad9ca31a8372d0c353', { zone_id: '023e105f4ecef8ad9ca31a8372d0c353', actions: [{ id: 'browser_check', value: 'on' }],