fixed some broken tests.

This commit is contained in:
Keivan Beigi 2013-02-18 17:57:08 -08:00
commit 324b5e3b80
19 changed files with 95 additions and 135 deletions

View file

@ -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.");