Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code Refactoring (With new test cases) #16994

Merged
merged 9 commits into from
Nov 7, 2023
Merged

Code Refactoring (With new test cases) #16994

merged 9 commits into from
Nov 7, 2023

Conversation

MANN3005
Copy link
Contributor

@MANN3005 MANN3005 commented Nov 5, 2023

new tests: workflow, java, android, javascript

@MANN3005
Copy link
Contributor Author

MANN3005 commented Nov 5, 2023

I have added this test cases to cover some edge case which were not being checked for smoother functioning.

@wing328
Copy link
Member

wing328 commented Nov 6, 2023

Thanks for the PR but your commit (as shown in the Commits tab) is not linked to your Github account, which means this PR won't count as your contribution in https://github.com/OpenAPITools/openapi-generator/graphs/contributors.

Let me know if you need help fixing it.

Ref: https://github.com/OpenAPITools/openapi-generator/wiki/FAQ#how-can-i-update-commits-that-are-not-linked-to-my-github-account

@MANN3005
Copy link
Contributor Author

MANN3005 commented Nov 6, 2023 via email

@MANN3005
Copy link
Contributor Author

MANN3005 commented Nov 6, 2023

I have added my email to the account.

@MANN3005
Copy link
Contributor Author

MANN3005 commented Nov 6, 2023

If still any fix is needed please tell me I will do it.

@wing328
Copy link
Member

wing328 commented Nov 7, 2023

birdAndCategory.setSize("Small");
assertEquals("Small", birdAndCategory.getSize());

birdAndCategory.setSize("Large");
Copy link
Member

@wing328 wing328 Nov 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be model instead of birdAndCategory ?

same for line 37

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah let me change and push it.

@MANN3005
Copy link
Contributor Author

MANN3005 commented Nov 7, 2023

Have Pushed the required changes.

@wing328
Copy link
Member

wing328 commented Nov 7, 2023

a different error: https://github.com/OpenAPITools/openapi-generator/actions/runs/6779625993/job/18428069487?pr=16994

can you please run the the test locally to confirm the fix?

@MANN3005
Copy link
Contributor Author

MANN3005 commented Nov 7, 2023

Yes will do before next push, sorry about that.

@wing328 wing328 merged commit a31b38b into OpenAPITools:master Nov 7, 2023
17 checks passed
@MANN3005 MANN3005 changed the title Added some Test Cases Code Refactoring (With new test cases) Nov 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants