fixed some broken tests. broke some new ones.

This commit is contained in:
Keivan Beigi 2013-03-26 17:51:37 -07:00
parent 57120c9eeb
commit 0a3b0c9973
10 changed files with 76 additions and 46 deletions

View file

@ -150,6 +150,8 @@ namespace NzbDrone.Core.Datastore
throw new InvalidOperationException("Attempted to updated model without ID");
}
_dataMapper.Update<TModel>(model, m => m.Id == model.Id);
// _database.UpdateOnly(model, onlyFields, m => m.Id == model.Id);
}
}