Skip to content

fix test cases

fix test cases #48

Triggered via pull request February 23, 2025 09:06
Status Success
Total duration 2m 18s
Artifacts

master-pr-ci.yml

on: pull_request
Matrix: build-reactapp
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
build-dotnet: src/AgileConfig.Server.Data.Abstraction/DbConfig/DbConfigInfoFactory.cs#L49
Converting null literal or possible null value to non-nullable type.
build-dotnet: test/AgileConfig.Server.Data.AbstractionTests/DbConfig/DbConfigInfoFactoryTests.cs#L27
Argument of type 'Dictionary<string, string>' cannot be used for parameter 'initialData' of type 'IEnumerable<KeyValuePair<string, string?>>' in 'IConfigurationBuilder MemoryConfigurationBuilderExtensions.AddInMemoryCollection(IConfigurationBuilder configurationBuilder, IEnumerable<KeyValuePair<string, string?>>? initialData)' due to differences in the nullability of reference types.
build-dotnet: src/AgileConfig.Server.Data.Mongodb/MongodbRepository.cs#L18
Possible null reference return.
build-dotnet: src/AgileConfig.Server.Data.Mongodb/MongodbRepository.cs#L188
Possible null reference return.
build-dotnet: src/AgileConfig.Server.Data.Freesql/FreeSqlContext.cs#L11
Non-nullable property 'Freesql' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build-dotnet: src/AgileConfig.Server.Data.Freesql/FreeSqlContext.cs#L11
Non-nullable property 'Apps' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build-dotnet: src/AgileConfig.Server.Data.Freesql/FreeSqlContext.cs#L11
Non-nullable property 'Configs' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build-dotnet: src/AgileConfig.Server.Data.Freesql/FreeSqlContext.cs#L11
Non-nullable property 'ServerNodes' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build-dotnet: src/AgileConfig.Server.Data.Freesql/FreeSqlContext.cs#L11
Non-nullable property 'Settings' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build-dotnet: src/AgileConfig.Server.Data.Freesql/FreeSqlContext.cs#L11
Non-nullable property 'SysLogs' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.