Several tests were setting EditorPrefs values directly but not refreshing the EditorConfigurationCache singleton, causing it to return stale cached values. This led to tests expecting certain behavior (e.g., checking remote URL errors) but getting unexpected errors (e.g., "HTTP transport is disabled"). Added EditorConfigurationCache.Instance.Refresh() calls to: - ServerCommandBuilderTests.TryBuildCommand_RemoteUrl_ReturnsFalse() - ServerCommandBuilderTests.TryBuildCommand_LocalUrl_ReturnsCommandOrError() - ServerManagementServiceCharacterizationTests.TryGetLocalHttpServerCommand_RemoteUrl_ReturnsFalseWithError() - WriteToConfigTests.SetUp() This ensures the cache is refreshed when EditorPrefs are modified in tests. Co-authored-by: Claude Haiku 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| ServerManagementServiceCharacterizationTests.cs | ||
| ServerManagementServiceCharacterizationTests.cs.meta | ||
| Services_Characterization.cs | ||
| Services_Characterization.cs.meta | ||