Skip to content

Commit

Permalink
test: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rmocanu-ionos committed Feb 12, 2024
1 parent b0947cf commit 40ca7a1
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 18 deletions.
1 change: 0 additions & 1 deletion src/commands/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,5 @@ export default class Init extends BaseCommand {
} else {
ui.info('bailing out')
}
return
}
}
34 changes: 17 additions & 17 deletions test/services/codex.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -267,14 +267,14 @@ describe('codex tests', async () => {
--- swagger.json
+++ swagger.json
@@ -2,7 +2,8 @@
"swagger": "2.0",
"info": {
"description": "Some description",
"version": "5.0",
- "title": "CLOUD API"
+ "${swagger.sdkPatchLevelAttr}": 1,
+ "title": "CLOUD API changed"
}
"swagger": "2.0",
"info": {
"description": "Some description",
"version": "5.0",
- "title": "CLOUD API"
+ "${swagger.sdkPatchLevelAttr}": 1,
+ "title": "CLOUD API changed"
}
}
\\ No newline at end of file
`
Expand Down Expand Up @@ -323,15 +323,15 @@ describe('codex tests', async () => {
--- swagger.json
+++ swagger.json
@@ -2,8 +2,8 @@
"swagger": "2.0",
"info": {
"description": "Some description",
"version": "5.0",
- "${swagger.sdkPatchLevelAttr}": 1,
- "title": "CLOUD API"
+ "${swagger.sdkPatchLevelAttr}": 2,
+ "title": "CLOUD API changed"
}
"swagger": "2.0",
"info": {
"description": "Some description",
"version": "5.0",
- "${swagger.sdkPatchLevelAttr}": 1,
- "title": "CLOUD API"
+ "${swagger.sdkPatchLevelAttr}": 2,
+ "title": "CLOUD API changed"
}
}
\\ No newline at end of file
`
Expand Down

0 comments on commit 40ca7a1

Please sign in to comment.