mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 18:57:39 -07:00
fixed some broken tests.
This commit is contained in:
parent
acaa05c9c0
commit
324b5e3b80
19 changed files with 95 additions and 135 deletions
|
@ -75,8 +75,13 @@ namespace NzbDrone.Test.Common
|
|||
|
||||
}
|
||||
|
||||
[Obsolete("Use Mock.Verify() instead")]
|
||||
protected void WithStrictMocker()
|
||||
{
|
||||
return;
|
||||
|
||||
//TODO: Remove dependency on restrict mocks!
|
||||
|
||||
if (_mocker != null)
|
||||
throw new InvalidOperationException("Can not switch to a strict container after container has been used. make sure this is the first call in your test.");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue