Skip to content

Commit dbecb46

Browse files
committed
fix(mon-domifa): fix unit tests
1 parent 97c8a86 commit dbecb46

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed

packages/portail-usagers/src/app/modules/usager-account/components/home-usager/sections/section-infos/section-infos.component.spec.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,15 @@ import { ComponentFixture, TestBed } from "@angular/core/testing";
33

44
import { SectionInfosComponent } from "./section-infos.component";
55
import { SharedModule } from "../../../../../shared/shared.module";
6+
import { FormatInternationalPhoneNumberPipe } from "../../../../pipes";
67

78
describe("SectionInfosComponent", () => {
89
let component: SectionInfosComponent;
910
let fixture: ComponentFixture<SectionInfosComponent>;
1011

1112
beforeEach(async () => {
1213
await TestBed.configureTestingModule({
13-
imports: [SharedModule],
14+
imports: [SharedModule, FormatInternationalPhoneNumberPipe],
1415
declarations: [SectionInfosComponent],
1516
schemas: [CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA],
1617
}).compileComponents();

packages/portail-usagers/src/app/modules/usager-account/components/home-usager/sections/section-links/section-links.component.html

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ <h2 class="section-title">Liens utiles</h2>
4242
class="img-fluid mx-auto d-block d-sm-inline-block"
4343
/>
4444
</a>
45-
4645
<p class="py-1">
4746
Découvrez en quelques clics les prestations sociales que vous pouvez
4847
demander (aides au logement, complémentaire santé, etc)
@@ -61,6 +60,17 @@ <h2 class="section-title">Liens utiles</h2>
6160
></a>
6261
</div>
6362
<div class="my-4">
63+
<a
64+
target="_blank"
65+
rel="noopener noreferrer"
66+
href="https://mes-aides.1jeune1solution.beta.gouv.fr/?utm_source=domifa"
67+
>
68+
<img
69+
src="/assets/images/partenaires/1jeune1solution.png"
70+
alt="Logo de Mes droits sociaux"
71+
class="img-fluid mx-auto d-block d-sm-inline-block"
72+
/>
73+
</a>
6474
<p class="py-1">
6575
Découvrez les aides et prestations sociales auxquelles vous êtes
6676
éligibles en vous rendant sur le site AidesJeunes
11.5 KB
Loading

0 commit comments

Comments
 (0)