Commit Graph
2 Commits
Author SHA1 Message Date
Arnaud Dartois eabea58353 fix: narrow _dbFactory type to TestDbContextFactory to fix CA1859
The 7 failing test files used IDbContextFactory<AppDbContext> for a field
that's always initialized with TestDbContextFactory. Narrowing to the
concrete type satisfies the analyzer and matches the pattern already used
in 5 other tests in the same folder.

Fixes: AgentFailoverJobTests, BusinessEntityPersistenceTests,
AnalysisJobDispatcherJobTests, AnalysisJobSchedulerServiceTests,
AgentDiscoveryServiceTests, CameraAssignmentServiceTests,
CameraEventServiceTests
2026-10-10 13:46:12 +02:00
Arnaud Dartois 5d06c39160 test(infrastructure): add service tests for Security, Data, Discovery, Jobs layers 2026-07-23 15:08:09 +00:00