
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Evergreen ILS". The branch, main has been updated via 38b073a3464b5cdee430dfb85d4eb80092c77ff2 (commit) from 6c2ff5aa4f23388700e7130e6b472d5387313b79 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 38b073a3464b5cdee430dfb85d4eb80092c77ff2 Author: Jane Sandberg <js7389@princeton.edu> Date: Thu Apr 3 15:34:42 2025 -0700 LP2074112 follow-up: fix two unit tests Previously, the StoreService's setLocalItem method was mocked in these tests. However, the production code now also uses getLocalItem, so mocking that method gets two failing tests passing. Signed-off-by: Jane Sandberg <js7389@princeton.edu> diff --git a/Open-ILS/src/eg2/src/app/staff/cat/volcopy/copy-attrs.component.spec.ts b/Open-ILS/src/eg2/src/app/staff/cat/volcopy/copy-attrs.component.spec.ts index 5b4212046a..930faa5a11 100644 --- a/Open-ILS/src/eg2/src/app/staff/cat/volcopy/copy-attrs.component.spec.ts +++ b/Open-ILS/src/eg2/src/app/staff/cat/volcopy/copy-attrs.component.spec.ts @@ -18,7 +18,7 @@ describe('CopyAttrsComponent', () => { const orgMock = jasmine.createSpyObj<OrgService>(['get']); const authServiceMock = jasmine.createSpyObj<AuthService>(['user']); const formatServiceMock = jasmine.createSpyObj<FormatService>(['transform']); - const storeServiceMock = jasmine.createSpyObj<StoreService>(['setLocalItem']); + const storeServiceMock = jasmine.createSpyObj<StoreService>(['setLocalItem', 'getLocalItem']); const toastServiceMock = jasmine.createSpyObj<ToastService>(['success']); const volCopyServiceMock = jasmine.createSpyObj<VolCopyService>(['copyStatIsMagic', 'saveTemplates']); ----------------------------------------------------------------------- Summary of changes: Open-ILS/src/eg2/src/app/staff/cat/volcopy/copy-attrs.component.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) hooks/post-receive -- Evergreen ILS