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

chore: [Orchestration] Increase Test Coverage #147

Merged
merged 2 commits into from
Nov 14, 2024

Conversation

MatKuhr
Copy link
Member

@MatKuhr MatKuhr commented Nov 10, 2024

Reverting the temporary reduction in test coverage from #140

@MatKuhr MatKuhr added the please-review Request to review a pull-request label Nov 10, 2024
stubFor(
post(anyUrl())
.inScenario("Errors")
Copy link
Member Author

@MatKuhr MatKuhr Nov 10, 2024

Choose a reason for hiding this comment

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

Copy/pasted from OpenAI. Becomes obsolete with AI/ai-sdk-java-backlog#111

post(anyUrl())
.inScenario("Errors")
.whenScenarioStateIs("2")
.willReturn(
Copy link
Contributor

Choose a reason for hiding this comment

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

(Minor/Comment)

I would rather chain .willReturn(..) than using scenarios and state-id. I don't see any benefit for that. But maybe I'm missing something.

Copy link
Member Author

Choose a reason for hiding this comment

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

Probably true, but since this is copy/pasted code I'd not change it here but after refactoring later..

@MatKuhr MatKuhr enabled auto-merge (squash) November 14, 2024 09:31
@MatKuhr MatKuhr requested a review from newtork November 14, 2024 09:31
@MatKuhr MatKuhr merged commit f25c22b into main Nov 14, 2024
5 checks passed
@MatKuhr MatKuhr deleted the chore/orchestration-test-coverage branch November 14, 2024 11:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
please-review Request to review a pull-request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants