From 04594fa3c18c92dc2365b7085a5eb5e9f6cdc6ed Mon Sep 17 00:00:00 2001 From: Quentin Date: Sun, 23 Jun 2024 18:58:26 +0200 Subject: [PATCH] [Angular] Rename Jhipster to JHipster --- .../webapp/app/core/util/alert.service.spec.ts.ejs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/generators/angular/templates/src/main/webapp/app/core/util/alert.service.spec.ts.ejs b/generators/angular/templates/src/main/webapp/app/core/util/alert.service.spec.ts.ejs index cfefa4a8165c..9be1c84ec4dc 100644 --- a/generators/angular/templates/src/main/webapp/app/core/util/alert.service.spec.ts.ejs +++ b/generators/angular/templates/src/main/webapp/app/core/util/alert.service.spec.ts.ejs @@ -123,10 +123,10 @@ describe('Alert service test', () => { it('should produce an alert object with correct id', inject([AlertService], (service: AlertService) => { service.addAlert({ type: 'info', message: 'Hello Jhipster info' }); - expect(service.addAlert({ type: 'success', message: 'Hello Jhipster success' })).toEqual( + expect(service.addAlert({ type: 'success', message: 'Hello JHipster success' })).toEqual( expect.objectContaining({ type: 'success', - message: 'Hello Jhipster success', + message: 'Hello JHipster success', id: 1, } as Alert) ); @@ -135,7 +135,7 @@ describe('Alert service test', () => { expect(service.get()[1]).toEqual( expect.objectContaining({ type: 'success', - message: 'Hello Jhipster success', + message: 'Hello JHipster success', id: 1, } as Alert) ); @@ -144,11 +144,11 @@ describe('Alert service test', () => { it('should close an alert correctly', inject([AlertService], (service: AlertService) => { const alert0 = service.addAlert({ type: 'info', message: 'Hello Jhipster info' }); const alert1 = service.addAlert({ type: 'info', message: 'Hello Jhipster info 2' }); - const alert2 = service.addAlert({ type: 'success', message: 'Hello Jhipster success' }); + const alert2 = service.addAlert({ type: 'success', message: 'Hello JHipster success' }); expect(alert2).toEqual( expect.objectContaining({ type: 'success', - message: 'Hello Jhipster success', + message: 'Hello JHipster success', id: 2, } as Alert) ); @@ -168,7 +168,7 @@ describe('Alert service test', () => { expect(service.get()[0]).not.toEqual( expect.objectContaining({ type: 'success', - message: 'Hello Jhipster success', + message: 'Hello JHipster success', id: 2, } as Alert) );