[Persistence] Revert quick-fix for persistence clearing

Revert "Squashed commit of the following:"

This reverts commit d1c01d3c86.
This commit is contained in:
Victor Woeltjen
2016-07-14 11:51:59 -07:00
parent cd21575546
commit eb5493e37b
4 changed files with 3 additions and 65 deletions

View File

@@ -34,7 +34,6 @@ define(
mockCopyService,
mockParent,
mockUrlService,
mockTransactionService,
actionContext,
capabilities = {},
action;
@@ -120,26 +119,11 @@ define(
["urlForLocation"]
);
mockTransactionService = jasmine.createSpyObj(
"transactionService",
["restartTransaction"]
);
mockTransactionService.restartTransaction
.andReturn(jasmine.createSpy());
actionContext = {
domainObject: mockDomainObject
};
action = new SaveAsAction(
undefined,
undefined,
mockDialogService,
undefined,
mockCopyService,
mockTransactionService,
actionContext
);
action = new SaveAsAction(undefined, undefined, mockDialogService, undefined, mockCopyService, actionContext);
spyOn(action, "getObjectService");
action.getObjectService.andReturn(mockObjectService);