[open-ils-commits] [GIT] Evergreen ILS branch rel_3_5 updated. 7a4f5212a900939e4e0e04610c436fcf1732e7c3
Evergreen Git
git at git.evergreen-ils.org
Thu Apr 30 14:42:12 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, rel_3_5 has been updated
via 7a4f5212a900939e4e0e04610c436fcf1732e7c3 (commit)
from b3a6dea2a5a8deb9cc1f059aa5ff9499b121fc90 (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 7a4f5212a900939e4e0e04610c436fcf1732e7c3
Author: Jason Stephenson <jason at sigio.com>
Date: Thu Apr 30 14:09:40 2020 -0400
LP#1876163 - Fix Angular Test Failure
ERROR in app/core/format.spec.ts - TS2554: Expected 4 arguments,
but got 3.
orgService = new OrgService(netService, authService, pcrudService);
Commit 9e8d662f418 added a new first argument to the OrgService
constructor and two files needed updates:
* app/core/format.spec.ts
* src/app/core/org.spec.ts
Signed-off-by: Jason Stephenson <jason at sigio.com>
Signed-off-by: Chris Sharp <csharp at georgialibraries.org>
diff --git a/Open-ILS/src/eg2/src/app/core/format.spec.ts b/Open-ILS/src/eg2/src/app/core/format.spec.ts
index 8a4877f1dc..d0d3bfd196 100644
--- a/Open-ILS/src/eg2/src/app/core/format.spec.ts
+++ b/Open-ILS/src/eg2/src/app/core/format.spec.ts
@@ -1,6 +1,7 @@
import {DatePipe, CurrencyPipe, registerLocaleData} from '@angular/common';
import {IdlService} from './idl.service';
import {EventService} from './event.service';
+import {DbStoreService} from './db-store.service';
import {NetService} from './net.service';
import {AuthService} from './auth.service';
import {PcrudService} from './pcrud.service';
@@ -26,6 +27,7 @@ describe('FormatService', () => {
let orgService: OrgService;
let evtService: EventService;
let storeService: StoreService;
+ let dbStoreService: DbStoreService;
let localeService: LocaleService;
let hatchService: HatchService;
// tslint:disable-next-line:prefer-const
@@ -42,7 +44,8 @@ describe('FormatService', () => {
netService = new NetService(evtService);
authService = new AuthService(evtService, netService, storeService);
pcrudService = new PcrudService(idlService, netService, authService);
- orgService = new OrgService(netService, authService, pcrudService);
+ dbStoreService = new DbStoreService();
+ orgService = new OrgService(dbStoreService, netService, authService, pcrudService);
localeService = new LocaleService(location, null, pcrudService);
service = new FormatService(
datePipe,
diff --git a/Open-ILS/src/eg2/src/app/core/org.spec.ts b/Open-ILS/src/eg2/src/app/core/org.spec.ts
index 9ebb028f12..2fc6996295 100644
--- a/Open-ILS/src/eg2/src/app/core/org.spec.ts
+++ b/Open-ILS/src/eg2/src/app/core/org.spec.ts
@@ -1,5 +1,6 @@
import {IdlService} from './idl.service';
import {EventService} from './event.service';
+import {DbStoreService} from './db-store.service';
import {NetService} from './net.service';
import {AuthService} from './auth.service';
import {PcrudService} from './pcrud.service';
@@ -16,6 +17,7 @@ describe('OrgService', () => {
let evtService: EventService;
let storeService: StoreService;
let hatchService: HatchService;
+ let dbStoreService: DbStoreService;
beforeEach(() => {
idlService = new IdlService();
@@ -25,7 +27,8 @@ describe('OrgService', () => {
netService = new NetService(evtService);
authService = new AuthService(evtService, netService, storeService);
pcrudService = new PcrudService(idlService, netService, authService);
- orgService = new OrgService(netService, authService, pcrudService);
+ dbStoreService = new DbStoreService();
+ orgService = new OrgService(dbStoreService, netService, authService, pcrudService);
});
const initTestData = () => {
-----------------------------------------------------------------------
Summary of changes:
Open-ILS/src/eg2/src/app/core/format.spec.ts | 5 ++++-
Open-ILS/src/eg2/src/app/core/org.spec.ts | 5 ++++-
2 files changed, 8 insertions(+), 2 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list