[ADF-2196] fixed error message for no permission on copy and move (#2863)

* [ADF-2196] fixed error message for no permission on copy and move

* [ADF-2196] removed fdescribe
This commit is contained in:
Vito
2018-01-23 13:06:10 +01:00
committed by Eugenio Romano
parent 0ea7259988
commit 101701b72e
2 changed files with 3 additions and 2 deletions

View File

@@ -95,7 +95,7 @@ describe('ContentNodeDialogService', () => {
() => { },
(error) => {
expect(materialDialog.open).not.toHaveBeenCalled();
expect(error.statusCode).toBe(403);
expect(JSON.parse(error.message).error.statusCode).toBe(403);
});
});