[Persistence] Don't evict models on persist
https://github.com/nasa/openmct/issues/745#issuecomment-204559209
This commit is contained in:
@@ -176,12 +176,8 @@ define(
|
||||
expect(mockQ.reject).not.toHaveBeenCalled();
|
||||
expect(mockNofificationService.error).not.toHaveBeenCalled();
|
||||
});
|
||||
|
||||
it("removes the model from the cache", function () {
|
||||
persistence.persist();
|
||||
expect(mockCacheService.remove).toHaveBeenCalledWith(id);
|
||||
});
|
||||
});
|
||||
|
||||
describe("unsuccessful persistence", function() {
|
||||
var sadPromise = {
|
||||
then: function(callback){
|
||||
|
||||
Reference in New Issue
Block a user