Minor fix in mocks in tests.

Unclear why there was no failure in the past in CI
This commit is contained in:
MischaPanch authored and Michael Panchenko committed 2025-09-02 18:54:49 +02:00
1 parent 230ac32adb
commit aa8c5c6ff6
1 file changed
+2
@@ -255,6 +255,7 @@ class TestCSharpSolutionProjectOpening:
# Create CSharpLanguageServer instance
mock_settings = Mock(spec=SolidLSPSettings)
mock_settings.ls_resources_dir = "/tmp/test_ls_resources"
mock_settings.project_data_relative_path = "project_data"
CSharpLanguageServer(mock_config, mock_logger, str(temp_path), mock_settings)
# Verify that logger was called with solution file discovery
@@ -279,6 +280,7 @@ class TestCSharpSolutionProjectOpening:
# Create CSharpLanguageServer instance
mock_settings = Mock(spec=SolidLSPSettings)
mock_settings.ls_resources_dir = "/tmp/test_ls_resources"
mock_settings.project_data_relative_path = "project_data"
CSharpLanguageServer(mock_config, mock_logger, str(temp_path), mock_settings)
# Verify that logger was called with warning about no solution/project files