From 697c43218218e2872ec5297c97a1a49034170d94 Mon Sep 17 00:00:00 2001 From: Pablo Bonilla Date: Sun, 4 Jul 2021 01:25:47 -0600 Subject: [PATCH] Update register component test --- .../account/register/register.component.scss | 0 .../register/register.component.spec.ts | 2 ++ .../swiperlib/swiperlib.component.spec.ts | 24 ------------------- 3 files changed, 2 insertions(+), 24 deletions(-) create mode 100644 src/main/webapp/app/account/register/register.component.scss delete mode 100644 src/main/webapp/app/components/swiperlib/swiperlib.component.spec.ts diff --git a/src/main/webapp/app/account/register/register.component.scss b/src/main/webapp/app/account/register/register.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/src/main/webapp/app/account/register/register.component.spec.ts b/src/main/webapp/app/account/register/register.component.spec.ts index 0e61822..30c967c 100644 --- a/src/main/webapp/app/account/register/register.component.spec.ts +++ b/src/main/webapp/app/account/register/register.component.spec.ts @@ -62,6 +62,8 @@ describe('Component Tests', () => { password: 'password', login: '', langKey: 'es', + name: '', + profileIcon: 1, }); expect(comp.success).toBe(true); expect(comp.errorUserExists).toBe(false); diff --git a/src/main/webapp/app/components/swiperlib/swiperlib.component.spec.ts b/src/main/webapp/app/components/swiperlib/swiperlib.component.spec.ts deleted file mode 100644 index 52987b6..0000000 --- a/src/main/webapp/app/components/swiperlib/swiperlib.component.spec.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { ComponentFixture, TestBed } from '@angular/core/testing'; - -import { SwiperlibComponent } from './swiperlib.component'; - -describe('SwiperlibComponent', () => { - let component: SwiperlibComponent; - let fixture: ComponentFixture; - - beforeEach(async () => { - await TestBed.configureTestingModule({ - declarations: [SwiperlibComponent], - }).compileComponents(); - }); - - beforeEach(() => { - fixture = TestBed.createComponent(SwiperlibComponent); - component = fixture.componentInstance; - fixture.detectChanges(); - }); - - it('should create', () => { - expect(component).toBeTruthy(); - }); -});