From a20f226522d19f0ea335007f7bfbd26567b6aef4 Mon Sep 17 00:00:00 2001 From: DaviMarinho Date: Sat, 9 Dec 2023 02:14:15 -0300 Subject: [PATCH] =?UTF-8?q?Adiciona=20mudan=C3=A7as=20nos=20testes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: DaviMarinho --- src/app/pages/login/login.component.html | 2 +- src/app/pages/login/login.component.spec.ts | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/app/pages/login/login.component.html b/src/app/pages/login/login.component.html index 916807d8..49303025 100644 --- a/src/app/pages/login/login.component.html +++ b/src/app/pages/login/login.component.html @@ -19,7 +19,7 @@
Cadastre-se
-
+
Login com redes sociais
diff --git a/src/app/pages/login/login.component.spec.ts b/src/app/pages/login/login.component.spec.ts index 3b826f20..13c29094 100644 --- a/src/app/pages/login/login.component.spec.ts +++ b/src/app/pages/login/login.component.spec.ts @@ -122,10 +122,10 @@ describe('LoginComponent', () => { it('should call navigator method when "Login com redes sociais" is clicked', () => { spyOn(component, 'navigator').and.callThrough(); - const loginsocial = fixture.nativeElement.querySelector('.text-blue-brand'); - loginsocial.click(); + const loginSocial = fixture.nativeElement.querySelector('.text-blue-brand'); + loginSocial.click(); - expect(component.navigator).toHaveBeenCalledWith('/login-social'); + expect(component.navigator).toHaveBeenCalledWith('/loginsocial'); }); it('should call login and return an error', () => {