Skip to content

Commit

Permalink
test: delete removed keepconnectionalive attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilmysliwiec committed Jan 20, 2025
1 parent 3b54a8c commit 916adc2
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 9 deletions.
1 change: 0 additions & 1 deletion integration/typeorm/src/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import { PhotoModule } from './photo/photo.module';
database: 'test',
entities: [Photo],
synchronize: true,
keepConnectionAlive: true,
retryAttempts: 2,
retryDelay: 1000,
}),
Expand Down
1 change: 0 additions & 1 deletion integration/typeorm/src/async-class-options.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ class ConfigService implements TypeOrmOptionsFactory {
database: 'test',
entities: [Photo],
synchronize: true,
keepConnectionAlive: true,
retryAttempts: 2,
retryDelay: 1000,
};
Expand Down
1 change: 0 additions & 1 deletion integration/typeorm/src/async-existing-options.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ class ConfigService implements TypeOrmOptionsFactory {
database: 'test',
entities: [Photo],
synchronize: true,
keepConnectionAlive: true,
retryAttempts: 2,
retryDelay: 1000,
};
Expand Down
1 change: 0 additions & 1 deletion integration/typeorm/src/async-options.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import { PhotoModule } from './photo/photo.module';
database: 'test',
entities: [Photo],
synchronize: true,
keepConnectionAlive: true,
retryAttempts: 2,
retryDelay: 1000,
}),
Expand Down
1 change: 0 additions & 1 deletion integration/typeorm/src/database.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ export class DatabaseModule {
database: 'test',
entities: [Photo],
synchronize: true,
keepConnectionAlive: true,
retryAttempts: 2,
retryDelay: 1000,
}),
Expand Down
6 changes: 3 additions & 3 deletions sample/05-sql-typeorm/test/users/users.e2e-spec.ts
Original file line number Diff line number Diff line change
@@ -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 = {
Expand Down
2 changes: 1 addition & 1 deletion sample/13-mongo-typeorm/src/app.module.ts
Original file line number Diff line number Diff line change
@@ -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: [
Expand Down

0 comments on commit 916adc2

Please sign in to comment.