54472: fixed small test issue

This commit is contained in:
lotte
2019-01-04 16:55:16 +01:00
parent 773973cdef
commit 303fc08520
2 changed files with 2 additions and 2 deletions

View File

@@ -143,7 +143,7 @@ describe('IntegrationResponseParsingService', () => {
},
statusCode: '200'
};
const pageinfo = Object.assign(new PageInfo(), { elementsPerPage: 5, totalElements: 5, totalPages: 1, currentPage: 1 });
const pageinfo = Object.assign(new PageInfo(), { elementsPerPage: 5, totalElements: 5, totalPages: 1, currentPage: 1, self: 'https://rest.api/integration/authorities/type/entries'});
const definitions = new PaginatedList(pageinfo,[
Object.assign({}, new AuthorityValueModel(), {
type: 'authority',

View File

@@ -41,7 +41,7 @@ export class EditComColPageComponent<TDomain extends DSpaceObject, TNormalized e
/**
* @param {TDomain} dso The updated version of the DSO
* Updates an existing DSO based on the submitted user data and navigates to the editted object's home page
* Updates an existing DSO based on the submitted user data and navigates to the edited object's home page
*/
onSubmit(dso: TDomain) {
this.dsoDataService.update(dso)