mirror of
https://github.com/nestjs/nest.git
synced 2026-02-21 15:08:37 +00:00
test: delete removed keepconnectionalive attribute
This commit is contained in:
@@ -14,7 +14,6 @@ import { PhotoModule } from './photo/photo.module';
|
||||
database: 'test',
|
||||
entities: [Photo],
|
||||
synchronize: true,
|
||||
keepConnectionAlive: true,
|
||||
retryAttempts: 2,
|
||||
retryDelay: 1000,
|
||||
}),
|
||||
|
||||
@@ -18,7 +18,6 @@ class ConfigService implements TypeOrmOptionsFactory {
|
||||
database: 'test',
|
||||
entities: [Photo],
|
||||
synchronize: true,
|
||||
keepConnectionAlive: true,
|
||||
retryAttempts: 2,
|
||||
retryDelay: 1000,
|
||||
};
|
||||
|
||||
@@ -18,7 +18,6 @@ class ConfigService implements TypeOrmOptionsFactory {
|
||||
database: 'test',
|
||||
entities: [Photo],
|
||||
synchronize: true,
|
||||
keepConnectionAlive: true,
|
||||
retryAttempts: 2,
|
||||
retryDelay: 1000,
|
||||
};
|
||||
|
||||
@@ -15,7 +15,6 @@ import { PhotoModule } from './photo/photo.module';
|
||||
database: 'test',
|
||||
entities: [Photo],
|
||||
synchronize: true,
|
||||
keepConnectionAlive: true,
|
||||
retryAttempts: 2,
|
||||
retryDelay: 1000,
|
||||
}),
|
||||
|
||||
@@ -18,7 +18,6 @@ export class DatabaseModule {
|
||||
database: 'test',
|
||||
entities: [Photo],
|
||||
synchronize: true,
|
||||
keepConnectionAlive: true,
|
||||
retryAttempts: 2,
|
||||
retryDelay: 1000,
|
||||
}),
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
@@ -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: [
|
||||
|
||||
Reference in New Issue
Block a user