diff options
author | 2020-08-31 12:29:32 -0400 | |
---|---|---|
committer | 2020-12-04 12:06:54 -0500 | |
commit | 220a25a2566c90bc540e7190342f73824d2ff54a (patch) | |
tree | ef28fb72e267b842c197b807f5d06fcd990f7f4e /ecomp-sdk/epsdk-app-os/ngappsrc/src/app/pages/ext/profile/profile.service.spec.ts | |
parent | ad2d7d08693ccb514d51e15505541bc55051a871 (diff) |
Raptor UI Changes, user profile, folder restructure
Issue-ID: PORTAL-902
Change-Id: Ib76bb3fce7efe55504b75d2fc4764bafb9f8e908
Signed-off-by: mravula <mr257h@att.com>
Diffstat (limited to 'ecomp-sdk/epsdk-app-os/ngappsrc/src/app/pages/ext/profile/profile.service.spec.ts')
-rw-r--r-- | ecomp-sdk/epsdk-app-os/ngappsrc/src/app/pages/ext/profile/profile.service.spec.ts | 78 |
1 files changed, 0 insertions, 78 deletions
diff --git a/ecomp-sdk/epsdk-app-os/ngappsrc/src/app/pages/ext/profile/profile.service.spec.ts b/ecomp-sdk/epsdk-app-os/ngappsrc/src/app/pages/ext/profile/profile.service.spec.ts deleted file mode 100644 index 70e8ac4b..00000000 --- a/ecomp-sdk/epsdk-app-os/ngappsrc/src/app/pages/ext/profile/profile.service.spec.ts +++ /dev/null @@ -1,78 +0,0 @@ -import { TestBed } from '@angular/core/testing'; - -import { ProfileService } from './profile.service'; -import { HttpClientTestingModule } from '@angular/common/http/testing'; -import { HttpClient } from '@angular/common/http'; -import { environment } from 'src/environments/environment'; - -describe('ProfileService', () => { - - let service: ProfileService; - - beforeEach(() => {TestBed.configureTestingModule({ - imports: [HttpClientTestingModule], - providers: [HttpClient, ProfileService] - }) - service = TestBed.get(ProfileService); -}); - - it('should be created', () => { - const service: ProfileService = TestBed.get(ProfileService); - expect(service).toBeTruthy(); - }); - - it('should get getUserPagination', () => { - service.getUserPagination().subscribe((resp) => { - expect(resp).toBe(environment.getUserPagination); - }); - }); - - it('should get getPostSearch', () => { - let test : any; - service.getPostSearch(test).subscribe((resp) => { - expect(resp).toBe(environment.postSearch); - }); - }); - - it('should get importUser', () => { - let test : any; - service.importUser(test).subscribe((resp) => { - expect(resp).toBe(environment.importSearch); - }); -}); - -it('should get getPostProfile', () => { - service.getPostProfile().subscribe((resp) => { - expect(resp).toBe(environment.getPostProfile); - }); -}); - -it('should get getSelfProfile', () => { - service.getSelfProfile().subscribe((resp) => { - expect(resp).toBe(environment.getSelfProfile); - }); -}); - -it('should get removeRole', () => { - let data, id; - service.removeRole(data, id).subscribe((resp) => { - expect(resp).toBe(environment.removeUserRole); - }); -}); - -it('should get addUserRole', () => { - let data, id; - service.addUserRole(data, id).subscribe((resp) => { - expect(resp).toBe(environment.addUserRole); - }); -}); - -it('should get toggleProfileActive', () => { - let data, id; - service.toggleProfileActive(id).subscribe((resp) => { - expect(resp).toBe(environment); - }); -}); - -}); - |