[Persistence] Revert quick-fix for persistence clearing
Revert "Squashed commit of the following:"
This reverts commit d1c01d3c86.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user