Skip to content

Commit 91a0b33

Browse files
stainless-app[bot]stainless-bot
authored andcommitted
feat(api): update via SDK Studio (#955)
1 parent 658dd9b commit 91a0b33

File tree

2 files changed

+16
-8
lines changed

2 files changed

+16
-8
lines changed

tests/api-resources/accounts/members.test.ts

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ const cloudflare = new Cloudflare({
1010
});
1111

1212
describe('resource members', () => {
13-
test('create: only required params', async () => {
13+
// HTTP 422 error from prism
14+
test.skip('create: only required params', async () => {
1415
const responsePromise = cloudflare.accounts.members.create({
1516
account_id: 'eb78d65290b24279ba6f44721b3ea3c4',
1617
@@ -29,7 +30,8 @@ describe('resource members', () => {
2930
expect(dataAndResponse.response).toBe(rawResponse);
3031
});
3132

32-
test('create: required and optional params', async () => {
33+
// HTTP 422 error from prism
34+
test.skip('create: required and optional params', async () => {
3335
const response = await cloudflare.accounts.members.create({
3436
account_id: 'eb78d65290b24279ba6f44721b3ea3c4',
3537
@@ -92,7 +94,8 @@ describe('resource members', () => {
9294
});
9395
});
9496

95-
test('delete: only required params', async () => {
97+
// HTTP 422 error from prism
98+
test.skip('delete: only required params', async () => {
9699
const responsePromise = cloudflare.accounts.members.delete('4536bcfad5faccb111b47003c79917fa', {
97100
account_id: 'eb78d65290b24279ba6f44721b3ea3c4',
98101
});
@@ -105,13 +108,15 @@ describe('resource members', () => {
105108
expect(dataAndResponse.response).toBe(rawResponse);
106109
});
107110

108-
test('delete: required and optional params', async () => {
111+
// HTTP 422 error from prism
112+
test.skip('delete: required and optional params', async () => {
109113
const response = await cloudflare.accounts.members.delete('4536bcfad5faccb111b47003c79917fa', {
110114
account_id: 'eb78d65290b24279ba6f44721b3ea3c4',
111115
});
112116
});
113117

114-
test('get: only required params', async () => {
118+
// HTTP 422 error from prism
119+
test.skip('get: only required params', async () => {
115120
const responsePromise = cloudflare.accounts.members.get('4536bcfad5faccb111b47003c79917fa', {
116121
account_id: 'eb78d65290b24279ba6f44721b3ea3c4',
117122
});
@@ -124,7 +129,8 @@ describe('resource members', () => {
124129
expect(dataAndResponse.response).toBe(rawResponse);
125130
});
126131

127-
test('get: required and optional params', async () => {
132+
// HTTP 422 error from prism
133+
test.skip('get: required and optional params', async () => {
128134
const response = await cloudflare.accounts.members.get('4536bcfad5faccb111b47003c79917fa', {
129135
account_id: 'eb78d65290b24279ba6f44721b3ea3c4',
130136
});

tests/api-resources/dns/settings.test.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ const cloudflare = new Cloudflare({
1010
});
1111

1212
describe('resource settings', () => {
13-
test('edit', async () => {
13+
// HTTP 422 from prism
14+
test.skip('edit', async () => {
1415
const responsePromise = cloudflare.dns.settings.edit({ account_id: 'string' });
1516
const rawResponse = await responsePromise.asResponse();
1617
expect(rawResponse).toBeInstanceOf(Response);
@@ -21,7 +22,8 @@ describe('resource settings', () => {
2122
expect(dataAndResponse.response).toBe(rawResponse);
2223
});
2324

24-
test('get', async () => {
25+
// HTTP 422 from prism
26+
test.skip('get', async () => {
2527
const responsePromise = cloudflare.dns.settings.get({ account_id: 'string' });
2628
const rawResponse = await responsePromise.asResponse();
2729
expect(rawResponse).toBeInstanceOf(Response);

0 commit comments

Comments
 (0)