[open-ils-commits] [GIT] Evergreen ILS branch master updated. 9c4a46bed68a325d13dd4714e63c497c10f5f833
Evergreen Git
git at git.evergreen-ils.org
Mon Jun 22 17:44:06 EDT 2020
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, master has been updated
via 9c4a46bed68a325d13dd4714e63c497c10f5f833 (commit)
from be3de646ad7c8b7ef34c0bcad169d2912ccb4c50 (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 9c4a46bed68a325d13dd4714e63c497c10f5f833
Author: Galen Charlton <gmc at equinoxinitiative.org>
Date: Mon Jun 22 17:43:07 2020 -0400
LP#1851306: (follow-up) add additional test stubs
Accounting for changes in ReservationActionsService.
Signed-off-by: Galen Charlton <gmc at equinoxinitiative.org>
diff --git a/Open-ILS/src/eg2/src/app/staff/booking/reservation-actions.spec.ts b/Open-ILS/src/eg2/src/app/staff/booking/reservation-actions.spec.ts
index 10f8549a52..c47af8d6dc 100644
--- a/Open-ILS/src/eg2/src/app/staff/booking/reservation-actions.spec.ts
+++ b/Open-ILS/src/eg2/src/app/staff/booking/reservation-actions.spec.ts
@@ -1,19 +1,26 @@
import { TestBed } from '@angular/core/testing';
import { Router } from '@angular/router';
+import { CookieService } from 'ngx-cookie';
+import { PrintService } from '@eg/share/print/print.service';
import { PcrudService } from '@eg/core/pcrud.service';
import { ReservationActionsService } from './reservation-actions.service';
describe('ReservationActionsService', () => {
let service: ReservationActionsService;
+ let cookieServiceStub: Partial<CookieService>;
+ let printServiceStub: Partial<PrintService>;
const routerSpy = {
navigate: jasmine.createSpy('navigate')
};
beforeEach(() => {
const pcrudServiceStub = {};
+ const cookieServiceStub = {};
TestBed.configureTestingModule({
providers: [
ReservationActionsService,
{ provide: Router, useValue: routerSpy },
- { provide: PcrudService, useValue: pcrudServiceStub }
+ { provide: PcrudService, useValue: pcrudServiceStub },
+ { provide: CookieService, useValue: cookieServiceStub },
+ { provide: PrintService, useValue: printServiceStub }
]
});
service = TestBed.get(ReservationActionsService);
-----------------------------------------------------------------------
Summary of changes:
.../src/eg2/src/app/staff/booking/reservation-actions.spec.ts | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list