message: test(origin-organization-irec-api): updated tests
diff: @@ -8,12 +8,12 @@ import { expect } from 'chai';
  import supertest from 'supertest';
  import { LoggedInUser } from '@energyweb/origin-backend-core';
  -import { RegistrationDTO } from '../src/registration/registration.dto';
  import { bootstrapTestInstance, TestUser, testUsers } from './test.app';
  import { Registration } from '../src/registration/registration.entity';
  import { RegistrationService } from '../src/registration/registration.service';
  import { IRECAccountType } from '../src/registration/account-type.enum';
  import { request } from './request';
  +import { NewRegistrationDTO } from '../src/registration/new-registration.dto';
  describe('I-REC Registration tests', () => {
  let app: INestApplication;
  @@ -21,7 +21,7 @@ describe('I-REC Registration tests', () => {
  let registrationService: RegistrationService;
  let test: supertest.SuperTest<supertest.Test>;
  - const registrationForm = {
  + const registrationForm: NewRegistrationDTO = {
  accountType: IRECAccountType.Registrant,
  activeCountries: ['PL', 'GB'],
  employeesNumber: '1-50',
  @@ -32,8 +32,22 @@ describe('I-REC Registration tests', () => {
  ceoName: 'John Doe',
  ceoPassportNumber: '12345',
  balanceSheetTotal: '$1,000,000',
  - mainBusiness: 'Solar Farm'
  - } as RegistrationDTO;
  + mainBusiness: 'Solar Farm',
  + primaryContactOrganizationName: 'Z ltd',
  + primaryContactOrganizationAddress: 'London',
  + primaryContactOrganizationPostalCode: '6300',
  + primaryContactOrganizationCountry: 'GB',
  + primaryContactName: 'Z',
  + primaryContactEmail: 'z@exmple.com',
  + primaryContactPhoneNumber: '123-123',
  + primaryContactFax: '-',
  + leadUserTitle: 'Mr.',
  + leadUserFirstName: 'Z',
  + leadUserLastName: 'Z',
  + leadUserEmail: 'z@example.com',
  + leadUserPhoneNumber: '123-123',
  + leadUserFax: '-'
  + };
  before(async () => {
  ({ app, databaseService, registrationService } = await bootstrapTestInstance());
  