[open-ils-commits] [GIT] Evergreen ILS branch master updated. df6a32fc4b17b8e4cb4645a4efeefe69a93c9c09

Evergreen Git git at git.evergreen-ils.org
Thu Apr 30 14:41:17 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  df6a32fc4b17b8e4cb4645a4efeefe69a93c9c09 (commit)
      from  754c0cca30d5042708a3859b233be303cff3a678 (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 df6a32fc4b17b8e4cb4645a4efeefe69a93c9c09
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