Skip to content

test: add dynamic option update handling in LocalPortFilteringMiddlew…#3

Merged
willysoft merged 1 commit intomainfrom
test/dynamic-option-update
Jan 15, 2025
Merged

test: add dynamic option update handling in LocalPortFilteringMiddlew…#3
willysoft merged 1 commit intomainfrom
test/dynamic-option-update

Conversation

@willysoft
Copy link
Copy Markdown
Owner

Summary

  • Added tests to verify dynamic option updates in LocalPortFilteringMiddleware.
  • Mocked IOptionsMonitor to simulate OnChange behavior for configuration changes.
  • Included InlineData to test different initial and updated configurations for IncludeFailureMessage.

Changes

  1. Enhanced test coverage for dynamic configuration updates.
  2. Verified middleware responses for:
    • Initial configuration values.
    • Updated configuration values triggered by OnChange.

@willysoft willysoft merged commit 2488ec4 into main Jan 15, 2025
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 1.2.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@willysoft willysoft deleted the test/dynamic-option-update branch April 23, 2025 05:06
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.

1 participant