mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-17 23:13:04 +00:00
54472: fixed small test issue
This commit is contained in:
@@ -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',
|
||||
|
@@ -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)
|
||||
|
Reference in New Issue
Block a user