Skip to content

Commit e642b88

Browse files
CLOUDP-286235: test should fail
1 parent a5b9c6e commit e642b88

File tree

2 files changed

+12
-11
lines changed

2 files changed

+12
-11
lines changed

tools/postman/validation/functions/folderDescription.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
export default (collection) => {
22
const errors = [];
33
const items = collection.item;
4+
let test;
45
for (let item of items) {
56
if (!item.request && !item.description) {
67
errors.push({
Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
export default (request) => {
2-
if (request.method !== 'PATCH') {
3-
return;
4-
}
5-
const body = request.body;
6-
if (!body?.raw) {
7-
return [
8-
{
9-
message: `Patch request should have a body.`,
10-
},
11-
];
12-
}
2+
if (request.method !== 'PATCH') {
3+
return;
4+
}
5+
const body = request.body;
6+
if (!body?.raw) {
7+
return [
8+
{
9+
message: `Patch request should have a body.`,
10+
},
11+
];
12+
}
1313
};

0 commit comments

Comments
 (0)