Skip to content

Add tests for voice provider configuration helpers#6

Merged
NichUK merged 1 commit intofeature/voice-modefrom
codex/fix-pr120-ci
Apr 4, 2026
Merged

Add tests for voice provider configuration helpers#6
NichUK merged 1 commit intofeature/voice-modefrom
codex/fix-pr120-ci

Conversation

@NichUK
Copy link
Copy Markdown
Owner

@NichUK NichUK commented Apr 4, 2026

Cover the pure shared logic in VoiceProviderConfigurationStoreExtensions with focused unit tests for case-insensitive provider lookup, case-insensitive setting lookup, SetValue creation/update behavior, and removal of blank or null values.

Cover the pure shared logic in VoiceProviderConfigurationStoreExtensions with focused unit tests for case-insensitive provider lookup, case-insensitive setting lookup, SetValue creation/update behavior, and removal of blank or null values.
Copilot AI review requested due to automatic review settings April 4, 2026 17:35
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds focused unit tests in OpenClaw.Shared.Tests to validate the shared, pure-logic behavior of VoiceProviderConfigurationStoreExtensions, helping ensure consistent case-insensitive lookups and predictable set/remove semantics for provider configuration values.

Changes:

  • Added unit coverage for case-insensitive provider lookup (GetOrAddProvider, FindProvider).
  • Added unit coverage for case-insensitive setting lookup (GetValue on configuration and store).
  • Added unit coverage for SetValue behaviors: trimming, updating existing entries case-insensitively, and removing entries on blank/null values.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@NichUK NichUK merged commit 57ae532 into feature/voice-mode Apr 4, 2026
4 checks passed
@NichUK NichUK deleted the codex/fix-pr120-ci branch April 4, 2026 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants