Skip to content

Commit

Permalink
[TLC-674] Fix duplicate section unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
kshepherd committed Jan 31, 2024
1 parent a278314 commit 5812402
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ import { PaginationServiceStub } from '../../../shared/testing/pagination-servic
import { Duplicate} from '../../../shared/object-list/duplicate-data/duplicate.model';
import { MetadataValue } from '../../../core/shared/metadata.models';
import { defaultUUID } from '../../../shared/mocks/uuid.service.mock';
import { DUPLICATE } from '../../../shared/object-list/duplicate-data/duplicate.resource-type';

function getMockSubmissionFormsConfigService(): SubmissionFormsConfigDataService {
return jasmine.createSpyObj('FormOperationsService', {
Expand Down Expand Up @@ -72,7 +73,12 @@ const duplicates: Duplicate[] = [{
'place': 0
})]
},
type: 'DUPLICATE'
type: DUPLICATE,
_links: {
self: {
href: 'http://localhost:8080/server/api/core/items/search/findDuplicates?uuid=testid'
}
}
}];

const sectionObject = {
Expand Down

0 comments on commit 5812402

Please sign in to comment.