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

[7.x] [Enterprise Search] Refactor MockRouter test helper to not store payload (#90206) #90322

Merged
merged 1 commit into from
Feb 4, 2021

Conversation

cee-chen
Copy link
Member

@cee-chen cee-chen commented Feb 4, 2021

Backports the following commits to 7.x:

…oad (elastic#90206)

* Update MockRouter to not pass/set a this.payload

- but instead intelligently validate payloads based on the request keys

* Fix relevance tuning API routes to not need a separate mock router for validating query & body

* Update all remaining tests to no longer pass a payload param to MockRouter
@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@cee-chen cee-chen merged commit da7c3b4 into elastic:7.x Feb 4, 2021
@cee-chen cee-chen deleted the backport/7.x/pr-90206 branch February 4, 2021 21:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants