mirror of
https://github.com/Radarr/Radarr.git
synced 2024-09-11 12:02:35 +02:00
Fixed AutoMoqer VerifyAll() bug
This commit is contained in:
parent
23f6cc3901
commit
282870cd80
@ -116,7 +116,8 @@ public void VerifyAllMocks()
|
|||||||
foreach (var registeredMock in registeredMocks)
|
foreach (var registeredMock in registeredMocks)
|
||||||
{
|
{
|
||||||
var mock = registeredMock.Value as Mock;
|
var mock = registeredMock.Value as Mock;
|
||||||
mock.VerifyAll();
|
if (mock != null)
|
||||||
|
mock.VerifyAll();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user