mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-23 16:26:02 +00:00
Fixed AutoMoqer VerifyAll() bug
This commit is contained in:
parent
23f6cc3901
commit
282870cd80
1 changed files with 2 additions and 1 deletions
|
@ -116,7 +116,8 @@ namespace AutoMoq
|
|||
foreach (var registeredMock in registeredMocks)
|
||||
{
|
||||
var mock = registeredMock.Value as Mock;
|
||||
mock.VerifyAll();
|
||||
if (mock != null)
|
||||
mock.VerifyAll();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue