test: delete removed keepconnectionalive attribute

This commit is contained in:
Kamil Myśliwiec
2025-01-20 08:42:18 +01:00
parent 3b54a8c97c
commit 916adc28f3
7 changed files with 4 additions and 9 deletions

View File

@@ -14,7 +14,6 @@ import { PhotoModule } from './photo/photo.module';
database: 'test',
entities: [Photo],
synchronize: true,
keepConnectionAlive: true,
retryAttempts: 2,
retryDelay: 1000,
}),

View File

@@ -18,7 +18,6 @@ class ConfigService implements TypeOrmOptionsFactory {
database: 'test',
entities: [Photo],
synchronize: true,
keepConnectionAlive: true,
retryAttempts: 2,
retryDelay: 1000,
};

View File

@@ -18,7 +18,6 @@ class ConfigService implements TypeOrmOptionsFactory {
database: 'test',
entities: [Photo],
synchronize: true,
keepConnectionAlive: true,
retryAttempts: 2,
retryDelay: 1000,
};

View File

@@ -15,7 +15,6 @@ import { PhotoModule } from './photo/photo.module';
database: 'test',
entities: [Photo],
synchronize: true,
keepConnectionAlive: true,
retryAttempts: 2,
retryDelay: 1000,
}),

View File

@@ -18,7 +18,6 @@ export class DatabaseModule {
database: 'test',
entities: [Photo],
synchronize: true,
keepConnectionAlive: true,
retryAttempts: 2,
retryDelay: 1000,
}),

View File

@@ -1,9 +1,9 @@
import { Test, TestingModule } from '@nestjs/testing';
import { INestApplication } from '@nestjs/common';
import * as request from 'supertest';
import { UsersModule } from '../../src/users/users.module';
import { Test, TestingModule } from '@nestjs/testing';
import { TypeOrmModule } from '@nestjs/typeorm';
import * as request from 'supertest';
import { CreateUserDto } from '../../src/users/dto/create-user.dto';
import { UsersModule } from '../../src/users/users.module';
describe('Users - /users (e2e)', () => {
const users = {

View File

@@ -1,7 +1,7 @@
import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { PhotoModule } from './photo/photo.module';
import { Photo } from './photo/photo.entity';
import { PhotoModule } from './photo/photo.module';
@Module({
imports: [