re-importing latest customer.jdl from master branch
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
/* tslint:disable max-line-length */
|
||||
import { ComponentFixture, TestBed, fakeAsync, tick } from '@angular/core/testing';
|
||||
import { ComponentFixture, fakeAsync, TestBed, tick } from '@angular/core/testing';
|
||||
import { HttpResponse } from '@angular/common/http';
|
||||
import { Observable, of } from 'rxjs';
|
||||
import { of } from 'rxjs';
|
||||
|
||||
import { HsadminNgTestModule } from '../../../test.module';
|
||||
import { AssetUpdateComponent } from 'app/entities/asset/asset-update.component';
|
||||
|
@ -1,7 +1,7 @@
|
||||
/* tslint:disable max-line-length */
|
||||
import { ComponentFixture, TestBed, fakeAsync, tick } from '@angular/core/testing';
|
||||
import { ComponentFixture, fakeAsync, TestBed, tick } from '@angular/core/testing';
|
||||
import { HttpResponse } from '@angular/common/http';
|
||||
import { Observable, of } from 'rxjs';
|
||||
import { of } from 'rxjs';
|
||||
|
||||
import { HsadminNgTestModule } from '../../../test.module';
|
||||
import { CustomerUpdateComponent } from 'app/entities/customer/customer-update.component';
|
||||
|
@ -1,11 +1,9 @@
|
||||
/* tslint:disable max-line-length */
|
||||
import { TestBed, getTestBed } from '@angular/core/testing';
|
||||
import { getTestBed, TestBed } from '@angular/core/testing';
|
||||
import { HttpClientTestingModule, HttpTestingController } from '@angular/common/http/testing';
|
||||
import { HttpClient, HttpResponse } from '@angular/common/http';
|
||||
import { of } from 'rxjs';
|
||||
import { take, map } from 'rxjs/operators';
|
||||
import { map, take } from 'rxjs/operators';
|
||||
import { CustomerService } from 'app/entities/customer/customer.service';
|
||||
import { ICustomer, Customer } from 'app/shared/model/customer.model';
|
||||
import { Customer, ICustomer } from 'app/shared/model/customer.model';
|
||||
|
||||
describe('Service Tests', () => {
|
||||
describe('Customer Service', () => {
|
||||
@ -21,7 +19,7 @@ describe('Service Tests', () => {
|
||||
service = injector.get(CustomerService);
|
||||
httpMock = injector.get(HttpTestingController);
|
||||
|
||||
elemDefault = new Customer(0, 0, 'AAAAAAA');
|
||||
elemDefault = new Customer(0, 0, 'AAAAAAA', 'AAAAAAA', 'AAAAAAA', 'AAAAAAA', 'AAAAAAA', 'AAAAAAA');
|
||||
});
|
||||
|
||||
describe('Service methods', async () => {
|
||||
@ -56,7 +54,12 @@ describe('Service Tests', () => {
|
||||
const returnedFromService = Object.assign(
|
||||
{
|
||||
number: 1,
|
||||
prefix: 'BBBBBB'
|
||||
prefix: 'BBBBBB',
|
||||
name: 'BBBBBB',
|
||||
contractualAddress: 'BBBBBB',
|
||||
contractualSalutation: 'BBBBBB',
|
||||
billingAddress: 'BBBBBB',
|
||||
billingSalutation: 'BBBBBB'
|
||||
},
|
||||
elemDefault
|
||||
);
|
||||
@ -74,7 +77,12 @@ describe('Service Tests', () => {
|
||||
const returnedFromService = Object.assign(
|
||||
{
|
||||
number: 1,
|
||||
prefix: 'BBBBBB'
|
||||
prefix: 'BBBBBB',
|
||||
name: 'BBBBBB',
|
||||
contractualAddress: 'BBBBBB',
|
||||
contractualSalutation: 'BBBBBB',
|
||||
billingAddress: 'BBBBBB',
|
||||
billingSalutation: 'BBBBBB'
|
||||
},
|
||||
elemDefault
|
||||
);
|
||||
|
@ -1,7 +1,7 @@
|
||||
/* tslint:disable max-line-length */
|
||||
import { ComponentFixture, TestBed, fakeAsync, tick } from '@angular/core/testing';
|
||||
import { ComponentFixture, fakeAsync, TestBed, tick } from '@angular/core/testing';
|
||||
import { HttpResponse } from '@angular/common/http';
|
||||
import { Observable, of } from 'rxjs';
|
||||
import { of } from 'rxjs';
|
||||
|
||||
import { HsadminNgTestModule } from '../../../test.module';
|
||||
import { MembershipUpdateComponent } from 'app/entities/membership/membership-update.component';
|
||||
|
@ -1,7 +1,7 @@
|
||||
/* tslint:disable max-line-length */
|
||||
import { ComponentFixture, TestBed, fakeAsync, tick } from '@angular/core/testing';
|
||||
import { ComponentFixture, fakeAsync, TestBed, tick } from '@angular/core/testing';
|
||||
import { HttpResponse } from '@angular/common/http';
|
||||
import { Observable, of } from 'rxjs';
|
||||
import { of } from 'rxjs';
|
||||
|
||||
import { HsadminNgTestModule } from '../../../test.module';
|
||||
import { ShareUpdateComponent } from 'app/entities/share/share-update.component';
|
||||
|
Reference in New Issue
Block a user