Commits

Alexandre Vryghem authored d3e057e0c20 Merge
Merge branch 'w2p-109964_fix-vocabulary-options-with-url-as-stored-value_contribute-7.6' into w2p-109964_fix-vocabulary-options-with-url-as-stored-value_contribute-main
No tags
gidlmaster

src/app/core/data/feature-authorization/authorization-data.service.spec.ts

Modified
65 65 it('should call setStaleByHrefSubstring method', () => {
66 66 service.invalidateAuthorizationsRequestCache();
67 67 expect((service as any).requestService.setStaleByHrefSubstring).toHaveBeenCalledWith((service as any).linkPath);
68 68 });
69 69
70 70 describe('searchByObject', () => {
71 71 const objectUrl = 'fake-object-url';
72 72 const ePersonUuid = 'fake-eperson-uuid';
73 73
74 74 function createExpected(providedObjectUrl: string, providedEPersonUuid?: string, providedFeatureId?: FeatureID): FindListOptions {
75 - const searchParams = [new RequestParam('uri', providedObjectUrl)];
75 + const searchParams = [new RequestParam('uri', providedObjectUrl, false)];
76 76 if (hasValue(providedFeatureId)) {
77 77 searchParams.push(new RequestParam('feature', providedFeatureId));
78 78 }
79 79 if (hasValue(providedEPersonUuid)) {
80 80 searchParams.push(new RequestParam('eperson', providedEPersonUuid));
81 81 }
82 82 return Object.assign(new FindListOptions(), { searchParams });
83 83 }
84 84
85 85 describe('when no arguments are provided', () => {

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut