removed useless "dropSchema: true" from tests

This commit is contained in:
Umed Khudoiberdiev 2017-11-07 19:21:48 +05:00
parent 620703d351
commit d864536dca
79 changed files with 0 additions and 79 deletions

View File

@ -8,7 +8,6 @@ describe.skip("benchmark > bulk-save", () => {
let connections: Connection[];
before(async () => connections = await createTestingConnections({
entities: [__dirname + "/entity/*{.js,.ts}"],
dropSchema: true,
}));
beforeEach(() => reloadTestingDatabases(connections));
after(() => closeTestingConnections(connections));

View File

@ -9,7 +9,6 @@ describe.skip("cascades > should insert by cascades from both sides (#57)", () =
let connections: Connection[];
before(async () => connections = await createTestingConnections({
entities: [__dirname + "/entity/*{.js,.ts}"],
dropSchema: true
}));
beforeEach(() => reloadTestingDatabases(connections));
after(() => closeTestingConnections(connections));

View File

@ -9,7 +9,6 @@ describe("columns > getters and setters", () => {
let connections: Connection[];
before(async () => connections = await createTestingConnections({
entities: [Post],
dropSchema: true
}));
beforeEach(() => reloadTestingDatabases(connections));
after(() => closeTestingConnections(connections));

View File

@ -9,7 +9,6 @@ describe("columns > no-selection functionality", () => {
let connections: Connection[];
before(async () => connections = await createTestingConnections({
entities: [Post],
dropSchema: true
}));
beforeEach(() => reloadTestingDatabases(connections));
after(() => closeTestingConnections(connections));

View File

@ -9,7 +9,6 @@ describe("columns > readonly functionality", () => {
let connections: Connection[];
before(async () => connections = await createTestingConnections({
entities: [Post],
dropSchema: true
}));
beforeEach(() => reloadTestingDatabases(connections));
after(() => closeTestingConnections(connections));

View File

@ -9,7 +9,6 @@ describe("columns > value-transformer functionality", () => {
let connections: Connection[];
before(async () => connections = await createTestingConnections({
entities: [Post],
dropSchema: true
}));
beforeEach(() => reloadTestingDatabases(connections));
after(() => closeTestingConnections(connections));

View File

@ -249,7 +249,6 @@ describe("repository > basic methods", () => {
// and preload it
const plainBlogWithId = { id: 1, categories: [{ id: 1 }] };
const preloadedBlog = await blogRepository.preload(plainBlogWithId);
console.log(preloadedBlog);
preloadedBlog!.should.be.instanceOf(Blog);
preloadedBlog!.id.should.be.equal(1);
preloadedBlog!.title.should.be.equal("About people");

View File

@ -9,7 +9,6 @@ describe("github issues > #108 Error with constraint names on postgres", () => {
before(async () => connections = await createTestingConnections({
entities: [__dirname + "/entity/*{.js,.ts}"],
schemaCreate: true,
dropSchema: true,
}));
after(() => closeTestingConnections(connections));

View File

@ -10,7 +10,6 @@ describe.skip("github issues > #131 Error with single table inheritance query wi
let connections: Connection[];
before(async () => connections = await createTestingConnections({
entities: [__dirname + "/entity/*{.js,.ts}"],
dropSchema: true,
}));
beforeEach(() => reloadTestingDatabases(connections));
after(() => closeTestingConnections(connections));

View File

@ -9,7 +9,6 @@ describe("github issues > #134 Error TIME is converted to 'HH-mm' instead of 'HH
let connections: Connection[];
before(async () => connections = await createTestingConnections({
entities: [__dirname + "/entity/*{.js,.ts}"],
dropSchema: true,
}));
beforeEach(() => reloadTestingDatabases(connections));
after(() => closeTestingConnections(connections));

View File

@ -9,7 +9,6 @@ describe.skip("github issues > #144 Class Table Inheritance doesn't seem to work
let connections: Connection[];
before(async () => connections = await createTestingConnections({
entities: [__dirname + "/entity/*{.js,.ts}"],
dropSchema: true,
}));
beforeEach(() => reloadTestingDatabases(connections));
after(() => closeTestingConnections(connections));

View File

@ -10,7 +10,6 @@ describe("github issues > #151 joinAndSelect can't find entity from inverse side
let connections: Connection[];
before(async () => connections = await createTestingConnections({
entities: [__dirname + "/entity/*{.js,.ts}"],
dropSchema: true,
}));
beforeEach(() => reloadTestingDatabases(connections));
after(() => closeTestingConnections(connections));

View File

@ -10,7 +10,6 @@ describe.skip("github issues > #159 Referencing ClassTableChild build table erro
let connections: Connection[];
before(async () => connections = await createTestingConnections({
entities: [__dirname + "/entity/*{.js,.ts}"],
dropSchema: true,
}));
beforeEach(() => reloadTestingDatabases(connections));
after(() => closeTestingConnections(connections));

View File

@ -10,7 +10,6 @@ describe("github issues > #161 joinAndSelect can't find entity from inverse side
let connections: Connection[];
before(async () => connections = await createTestingConnections({
entities: [__dirname + "/entity/*{.js,.ts}"],
dropSchema: true,
}));
beforeEach(() => reloadTestingDatabases(connections));
after(() => closeTestingConnections(connections));

View File

@ -10,7 +10,6 @@ describe("github issues > #163 ManyToMany relation : Cannot read property 'joinC
let connections: Connection[];
before(async () => connections = await createTestingConnections({
entities: [__dirname + "/entity/*{.js,.ts}"],
dropSchema: true,
}));
beforeEach(() => reloadTestingDatabases(connections));
after(() => closeTestingConnections(connections));

View File

@ -10,7 +10,6 @@ describe("github issues > #174 Embeded types confusing with order by", () => {
let connections: Connection[];
before(async () => connections = await createTestingConnections({
entities: [__dirname + "/entity/*{.js,.ts}"],
dropSchema: true,
}));
beforeEach(() => reloadTestingDatabases(connections));
after(() => closeTestingConnections(connections));

View File

@ -10,7 +10,6 @@ describe("github issues > #175 ManyToMany relation doesn't put an empty array wh
let connections: Connection[];
before(async () => connections = await createTestingConnections({
entities: [__dirname + "/entity/*{.js,.ts}"],
dropSchema: true,
}));
beforeEach(() => reloadTestingDatabases(connections));
after(() => closeTestingConnections(connections));

View File

@ -11,7 +11,6 @@ describe("github issues > #176 @CreateDateColumn and @UpdateDateColumn does not
let connections: Connection[];
before(async () => connections = await createTestingConnections({
entities: [__dirname + "/entity/*{.js,.ts}"],
dropSchema: true,
}));
beforeEach(() => reloadTestingDatabases(connections));
after(() => closeTestingConnections(connections));

View File

@ -10,7 +10,6 @@ describe("github issues > #182 enums are not saved properly", () => {
let connections: Connection[];
before(async () => connections = await createTestingConnections({
entities: [__dirname + "/entity/*{.js,.ts}"],
dropSchema: true,
enabledDrivers: ["mysql"] // we can properly test lazy-relations only on one platform
}));
beforeEach(() => reloadTestingDatabases(connections));

View File

@ -8,7 +8,6 @@ describe("github issues > #190 too many SQL variables when using setMaxResults i
let connections: Connection[];
before(async () => connections = await createTestingConnections({
entities: [__dirname + "/entity/*{.js,.ts}"],
dropSchema: true,
enabledDrivers: ["sqlite"] // this issue only related to sqlite
}));
beforeEach(() => reloadTestingDatabases(connections));

View File

@ -11,7 +11,6 @@ describe("indices > create schema", () => {
before(async () => connections = await createTestingConnections({
entities: [Person],
schemaCreate: false,
dropSchema: true
}));
beforeEach(() => reloadTestingDatabases(connections));
after(() => closeTestingConnections(connections));

View File

@ -8,7 +8,6 @@ describe("github issues > #211 where in query issue", () => {
let connections: Connection[];
before(async () => connections = await createTestingConnections({
entities: [__dirname + "/entity/*{.js,.ts}"],
dropSchema: true,
}));
beforeEach(() => reloadTestingDatabases(connections));
after(() => closeTestingConnections(connections));

View File

@ -10,7 +10,6 @@ describe("github issues > #215 invalid replacements of join conditions", () => {
let connections: Connection[];
before(async () => connections = await createTestingConnections({
entities: [__dirname + "/entity/*{.js,.ts}"],
dropSchema: true,
}));
beforeEach(() => reloadTestingDatabases(connections));
after(() => closeTestingConnections(connections));

View File

@ -8,7 +8,6 @@ describe("github issues > #219 FindOptions should be able to resolve null values
let connections: Connection[];
before(async () => connections = await createTestingConnections({
entities: [__dirname + "/entity/*{.js,.ts}"],
dropSchema: true,
}));
beforeEach(() => reloadTestingDatabases(connections));
after(() => closeTestingConnections(connections));

View File

@ -11,7 +11,6 @@ describe("github issues > #234 and #223 lazy loading does not work correctly fro
let connections: Connection[];
before(async () => connections = await createTestingConnections({
entities: [__dirname + "/entity/*{.js,.ts}"],
dropSchema: true,
enabledDrivers: ["mysql"] // we can properly test lazy-relations only on one platform
}));
beforeEach(() => reloadTestingDatabases(connections));

View File

@ -9,7 +9,6 @@ describe("github issues > support of embeddeds that are not set", () => {
let connections: Connection[];
before(async () => connections = await createTestingConnections({
entities: [__dirname + "/entity/*{.js,.ts}"],
dropSchema: true,
}));
beforeEach(() => reloadTestingDatabases(connections));
after(() => closeTestingConnections(connections));

View File

@ -10,7 +10,6 @@ describe("github issues > embeddeds with custom column name don't work", () => {
let connections: Connection[];
before(async () => connections = await createTestingConnections({
entities: [__dirname + "/entity/*{.js,.ts}"],
dropSchema: true,
}));
beforeEach(() => reloadTestingDatabases(connections));
after(() => closeTestingConnections(connections));

View File

@ -9,7 +9,6 @@ describe("github issues > #320 Bug in getManyAndCount", () => {
before(async () => connections = await createTestingConnections({
entities: [__dirname + "/entity/*{.js,.ts}"],
enabledDrivers: ["mysql"],
dropSchema: true,
}));
beforeEach(() => reloadTestingDatabases(connections));
after(() => closeTestingConnections(connections));

View File

@ -10,7 +10,6 @@ describe("github issues > OneToOne relation with referencedColumnName does not w
let connections: Connection[];
before(async () => connections = await createTestingConnections({
entities: [__dirname + "/entity/*{.js,.ts}"],
dropSchema: true,
}));
beforeEach(() => reloadTestingDatabases(connections));
after(() => closeTestingConnections(connections));

View File

@ -10,7 +10,6 @@ describe("github issues > Join query on ManyToMany relations not working", () =>
let connections: Connection[];
before(async () => connections = await createTestingConnections({
entities: [__dirname + "/entity/*{.js,.ts}"],
dropSchema: true,
}));
beforeEach(() => reloadTestingDatabases(connections));
after(() => closeTestingConnections(connections));

View File

@ -10,7 +10,6 @@ describe("github issues > #352 double precision round to int in mssql", () => {
let connections: Connection[];
before(async () => connections = await createTestingConnections({
entities: [__dirname + "/entity/*{.js,.ts}"],
dropSchema: true,
enabledDrivers: ["mssql"]
}));
beforeEach(() => reloadTestingDatabases(connections));

View File

@ -10,7 +10,6 @@ describe("github issues > #363 Can't save 2 unrelated entity types in a single p
let connections: Connection[];
before(async () => connections = await createTestingConnections({
entities: [__dirname + "/entity/*{.js,.ts}"],
dropSchema: true,
}));
beforeEach(() => reloadTestingDatabases(connections));
after(() => closeTestingConnections(connections));

View File

@ -9,7 +9,6 @@ describe("github issues > #388 skip and take with string ID don't work", () => {
let connections: Connection[];
before(async () => connections = await createTestingConnections({
entities: [__dirname + "/entity/*{.js,.ts}"],
dropSchema: true,
}));
beforeEach(() => reloadTestingDatabases(connections));
after(() => closeTestingConnections(connections));

View File

@ -10,7 +10,6 @@ describe("github issues > #401 special keywords should be escaped in join querie
let connections: Connection[];
before(async () => connections = await createTestingConnections({
entities: [__dirname + "/entity/*{.js,.ts}"],
dropSchema: true,
}));
beforeEach(() => reloadTestingDatabases(connections));
after(() => closeTestingConnections(connections));

View File

@ -9,7 +9,6 @@ describe("github issues > #433 default value (json) is not getting set in postgr
before(async () => connections = await createTestingConnections({
entities: [__dirname + "/entity/*{.js,.ts}"],
enabledDrivers: ["postgres"],
dropSchema: true,
}));
beforeEach(() => reloadTestingDatabases(connections));
after(() => closeTestingConnections(connections));

View File

@ -9,7 +9,6 @@ describe("github issues > #463 saving empty string array", () => {
before(async () => connections = await createTestingConnections({
entities: [__dirname + "/entity/*{.js,.ts}"],
enabledDrivers: ["postgres"],
dropSchema: true,
}));
beforeEach(() => reloadTestingDatabases(connections));
after(() => closeTestingConnections(connections));

View File

@ -10,7 +10,6 @@ describe("github issues > #47 wrong sql syntax when loading lazy relation", () =
let connections: Connection[];
before(async () => connections = await createTestingConnections({
entities: [__dirname + "/entity/*{.js,.ts}"],
dropSchema: true,
enabledDrivers: ["mysql"] // we can properly test lazy-relations only on one platform
}));
beforeEach(() => reloadTestingDatabases(connections));

View File

@ -9,7 +9,6 @@ describe("github issues > #479 orWhere breaks skip / take", () => {
let connections: Connection[];
before(async () => connections = await createTestingConnections({
entities: [__dirname + "/entity/*{.js,.ts}"],
dropSchema: true,
}));
beforeEach(() => reloadTestingDatabases(connections));
after(() => closeTestingConnections(connections));

View File

@ -11,7 +11,6 @@ describe("github issues > #485 If I set the datatype of PrimaryGeneratedColumn t
connections = await createTestingConnections({
entities: [__dirname + "/entity/*{.js,.ts}"],
enabledDrivers: ["postgres"],
dropSchema: true,
});
});
beforeEach(() => reloadTestingDatabases(connections));

View File

@ -8,7 +8,6 @@ describe("github issues > #493 pagination should work with string primary keys",
let connections: Connection[];
before(async () => connections = await createTestingConnections({
entities: [__dirname + "/entity/*{.js,.ts}"],
dropSchema: true,
}));
beforeEach(() => reloadTestingDatabases(connections));
after(() => closeTestingConnections(connections));

View File

@ -9,7 +9,6 @@ describe("github issues > #495 Unable to set multi-column indices", () => {
let connections: Connection[];
before(async () => connections = await createTestingConnections({
entities: [__dirname + "/entity/*{.js,.ts}"],
dropSchema: true,
}));
beforeEach(() => reloadTestingDatabases(connections));
after(() => closeTestingConnections(connections));

View File

@ -9,7 +9,6 @@ describe("github issues > #499 postgres DATE hydrated as DATETIME object", () =>
let connections: Connection[];
before(async () => connections = await createTestingConnections({
entities: [__dirname + "/entity/*{.js,.ts}"],
dropSchema: true,
}));
beforeEach(() => reloadTestingDatabases(connections));
after(() => closeTestingConnections(connections));

View File

@ -8,7 +8,6 @@ describe("github issues > #512 Table name escaping in UPDATE in QueryBuilder", (
let connections: Connection[];
before(async () => connections = await createTestingConnections({
entities: [__dirname + "/entity/*{.js,.ts}"],
dropSchema: true,
}));
beforeEach(() => reloadTestingDatabases(connections));
after(() => closeTestingConnections(connections));

View File

@ -11,7 +11,6 @@ describe("github issues > #513 Incorrect time/datetime types for SQLite", () =>
let connections: Connection[];
before(async () => connections = await createTestingConnections({
entities: [__dirname + "/entity/*{.js,.ts}"],
dropSchema: true,
enabledDrivers: ["sqlite"]
}));
beforeEach(() => reloadTestingDatabases(connections));

View File

@ -8,7 +8,6 @@ describe("github issues > #521 Attributes in UPDATE in QB arent getting replaced
let connections: Connection[];
before(async () => connections = await createTestingConnections({
entities: [__dirname + "/entity/*{.js,.ts}"],
dropSchema: true,
}));
beforeEach(() => reloadTestingDatabases(connections));
after(() => closeTestingConnections(connections));

View File

@ -10,7 +10,6 @@ describe.skip("github issues > #56 relationships only work when both primary key
let connections: Connection[];
before(async () => connections = await createTestingConnections({
entities: [__dirname + "/entity/*{.js,.ts}"],
dropSchema: true,
}));
beforeEach(() => reloadTestingDatabases(connections));
after(() => closeTestingConnections(connections));

View File

@ -10,7 +10,6 @@ describe("github issues > #57 cascade insert not working with OneToOne relations
let connections: Connection[];
before(async () => connections = await createTestingConnections({
entities: [__dirname + "/entity/*{.js,.ts}"],
dropSchema: true,
}));
beforeEach(() => reloadTestingDatabases(connections));
after(() => closeTestingConnections(connections));

View File

@ -11,7 +11,6 @@ describe("github issues > #58 relations with multiple primary keys", () => {
let connections: Connection[];
before(async () => connections = await createTestingConnections({
entities: [__dirname + "/entity/*{.js,.ts}"],
dropSchema: true,
}));
beforeEach(() => reloadTestingDatabases(connections));
after(() => closeTestingConnections(connections));

View File

@ -7,7 +7,6 @@ describe("github issues > #587 Ordering of fields in composite indexes defined u
let connections: Connection[];
before(async () => connections = await createTestingConnections({
entities: [__dirname + "/entity/*{.js,.ts}"],
dropSchema: true,
}));
beforeEach(() => reloadTestingDatabases(connections));
after(() => closeTestingConnections(connections));

View File

@ -8,7 +8,6 @@ describe("github issues > #594 WhereInIds no longer works in the latest version.
let connections: Connection[];
before(async () => connections = await createTestingConnections({
entities: [__dirname + "/entity/*{.js,.ts}"],
dropSchema: true,
}));
beforeEach(() => reloadTestingDatabases(connections));
after(() => closeTestingConnections(connections));

View File

@ -9,7 +9,6 @@ describe("github issues > #620 Feature Request: Flexibility in Foreign Key names
let connections: Connection[];
before(async () => connections = await createTestingConnections({
entities: [__dirname + "/entity/*{.js,.ts}"],
dropSchema: true,
}));
beforeEach(() => reloadTestingDatabases(connections));
after(() => closeTestingConnections(connections));

View File

@ -12,7 +12,6 @@ describe("github issues > #660 Specifying a RETURNING or OUTPUT clause with Quer
let connections: Connection[];
before(async () => connections = await createTestingConnections({
entities: [__dirname + "/entity/*{.js,.ts}"],
dropSchema: true,
}));
beforeEach(() => reloadTestingDatabases(connections));
after(() => closeTestingConnections(connections));

View File

@ -10,7 +10,6 @@ describe("github issues > #695 Join columns are not using correct length", () =>
before(async () => connections = await createTestingConnections({
entities: [__dirname + "/entity/*{.js,.ts}"],
enabledDrivers: ["mysql"],
dropSchema: true,
}));
beforeEach(() => reloadTestingDatabases(connections));
after(() => closeTestingConnections(connections));

View File

@ -10,7 +10,6 @@ describe("github issues > #70 cascade deleting works incorrect", () => {
let connections: Connection[];
before(async () => connections = await createTestingConnections({
entities: [__dirname + "/entity/*{.js,.ts}"],
dropSchema: true,
}));
beforeEach(() => reloadTestingDatabases(connections));
after(() => closeTestingConnections(connections));

View File

@ -9,7 +9,6 @@ describe("github issues > #703.findOne does not return an empty array on OneToMa
let connections: Connection[];
before(async () => connections = await createTestingConnections({
entities: [__dirname + "/entity/*{.js,.ts}"],
dropSchema: true,
}));
beforeEach(() => reloadTestingDatabases(connections));
after(() => closeTestingConnections(connections));

View File

@ -8,7 +8,6 @@ describe("github issues > #704 Table alias in WHERE clause is not quoted in Post
let connections: Connection[];
before(async () => connections = await createTestingConnections({
entities: [__dirname + "/entity/*{.js,.ts}"],
dropSchema: true,
}));
beforeEach(() => reloadTestingDatabases(connections));
after(() => closeTestingConnections(connections));

View File

@ -10,7 +10,6 @@ describe("github issues > #71 ManyToOne relation with custom column name persist
let connections: Connection[];
before(async () => connections = await createTestingConnections({
entities: [__dirname + "/entity/*{.js,.ts}"],
dropSchema: true,
}));
beforeEach(() => reloadTestingDatabases(connections));
after(() => closeTestingConnections(connections));

View File

@ -12,7 +12,6 @@ describe("github issues > #720 `.save()` not updating composite key with Postgre
let connections: Connection[];
before(async () => connections = await createTestingConnections({
entities: [__dirname + "/entity/*{.js,.ts}"],
dropSchema: true,
enabledDrivers: ["postgres"]
}));
beforeEach(() => reloadTestingDatabases(connections));

View File

@ -8,7 +8,6 @@ describe("github issues > #752 postgres - count query fails for empty table", ()
let connections: Connection[];
before(async () => connections = await createTestingConnections({
entities: [__dirname + "/entity/*{.js,.ts}"],
dropSchema: true,
}));
beforeEach(() => reloadTestingDatabases(connections));
after(() => closeTestingConnections(connections));

View File

@ -10,7 +10,6 @@ describe("github issues > #762 Nullable @Embedded inside @Embedded", () => {
let connections: Connection[];
before(async () => connections = await createTestingConnections({
entities: [__dirname + "/entity/*{.js,.ts}"],
dropSchema: true,
}));
beforeEach(() => reloadTestingDatabases(connections));
after(() => closeTestingConnections(connections));

View File

@ -11,7 +11,6 @@ describe("github issues > #778 TypeORM is ignoring the `type` field when set on
before(async () => connections = await createTestingConnections({
entities: [__dirname + "/entity/*{.js,.ts}"],
enabledDrivers: ["postgres"],
dropSchema: true,
}));
beforeEach(() => reloadTestingDatabases(connections));
after(() => closeTestingConnections(connections));

View File

@ -9,7 +9,6 @@ describe("github issues > #80 repository.save fails when empty array is sent to
let connections: Connection[];
before(async () => connections = await createTestingConnections({
entities: [__dirname + "/entity/*{.js,.ts}"],
dropSchema: true,
}));
beforeEach(() => reloadTestingDatabases(connections));
after(() => closeTestingConnections(connections));

View File

@ -8,7 +8,6 @@ describe("github issues > #807 Error in persisting dates", () => {
let connections: Connection[];
before(async () => connections = await createTestingConnections({
entities: [__dirname + "/entity/*{.js,.ts}"],
dropSchema: true,
}));
beforeEach(() => reloadTestingDatabases(connections));
after(() => closeTestingConnections(connections));

View File

@ -9,7 +9,6 @@ describe("github issues > #813 order by must support functions", () => {
let connections: Connection[];
before(async () => connections = await createTestingConnections({
entities: [__dirname + "/entity/*{.js,.ts}"],
dropSchema: true,
}));
beforeEach(() => reloadTestingDatabases(connections));
after(() => closeTestingConnections(connections));

View File

@ -10,7 +10,6 @@ describe("github issues > #815 @RelationId properties are not updated after enti
let connections: Connection[];
before(async () => connections = await createTestingConnections({
entities: [__dirname + "/entity/*{.js,.ts}"],
dropSchema: true,
}));
beforeEach(() => reloadTestingDatabases(connections));
after(() => closeTestingConnections(connections));

View File

@ -14,7 +14,6 @@ describe.skip("github issues > #838 Time zones for timestamp columns are incorre
before(async () => {
connections = await createTestingConnections({
entities: [__dirname + "/entity/*{.js,.ts}"],
dropSchema: true,
enabledDrivers: [
"postgres"
]

View File

@ -10,7 +10,6 @@ describe("indices > create schema", () => {
let connections: Connection[];
before(async () => connections = await createTestingConnections({
entities: [Master, Detail],
dropSchema: true
}));
beforeEach(() => reloadTestingDatabases(connections));
after(() => closeTestingConnections(connections));

View File

@ -9,7 +9,6 @@ describe("github issues > #867 result of `findAndCount` is wrong when apply `ski
let connections: Connection[];
before(async () => connections = await createTestingConnections({
entities: [__dirname + "/entity/*{.js,.ts}"],
dropSchema: true,
}));
beforeEach(() => reloadTestingDatabases(connections));
after(() => closeTestingConnections(connections));

View File

@ -9,7 +9,6 @@ describe.skip("github issues > #904 Using closure tables without @TreeLevelColum
let connections: Connection[];
before(async () => connections = await createTestingConnections({
entities: [__dirname + "/entity/*{.js,.ts}"],
dropSchema: true,
}));
beforeEach(() => reloadTestingDatabases(connections));
after(() => closeTestingConnections(connections));

View File

@ -9,7 +9,6 @@ describe("github issues > #929 sub-queries should set their own parameters on ex
let connections: Connection[];
before(async () => connections = await createTestingConnections({
entities: [__dirname + "/entity/*{.js,.ts}"],
dropSchema: true
}));
beforeEach(() => reloadTestingDatabases(connections));
after(() => closeTestingConnections(connections));

View File

@ -8,7 +8,6 @@ describe("github issues > #945 synchronization with multiple primary keys", () =
let connections: Connection[];
before(async () => connections = await createTestingConnections({
entities: [__dirname + "/entity/*{.js,.ts}"],
dropSchema: true
}));
beforeEach(() => reloadTestingDatabases(connections));
after(() => closeTestingConnections(connections));

View File

@ -10,7 +10,6 @@ describe("github issues > #953 MySQL 5.7 JSON column parse", () => {
before(async () => connections = await createTestingConnections({
entities: [__dirname + "/entity/*{.js,.ts}"],
enabledDrivers: ["mysql"],
dropSchema: true
}));
beforeEach(() => reloadTestingDatabases(connections));
after(() => closeTestingConnections(connections));

View File

@ -9,7 +9,6 @@ describe("github issues > #966 Inheritance in embeddables", () => {
let connections: Connection[];
before(async () => connections = await createTestingConnections({
entities: [__dirname + "/entity/*{.js,.ts}"],
dropSchema: true,
}));
beforeEach(() => reloadTestingDatabases(connections));
after(() => closeTestingConnections(connections));

View File

@ -9,7 +9,6 @@ describe("other issues > column with getter / setter should work", () => {
let connections: Connection[];
before(async () => connections = await createTestingConnections({
entities: [__dirname + "/entity/*{.js,.ts}"],
dropSchema: true,
}));
beforeEach(() => reloadTestingDatabases(connections));
after(() => closeTestingConnections(connections));

View File

@ -9,7 +9,6 @@ describe("other issues > entity change in listeners should affect persistence",
let connections: Connection[];
before(async () => connections = await createTestingConnections({
entities: [__dirname + "/entity/*{.js,.ts}"],
dropSchema: true,
}));
beforeEach(() => reloadTestingDatabases(connections));
after(() => closeTestingConnections(connections));

View File

@ -9,7 +9,6 @@ describe("other issues > double inheritance produces multiple duplicated columns
let connections: Connection[];
before(async () => connections = await createTestingConnections({
entities: [__dirname + "/entity/*{.js,.ts}"],
dropSchema: true,
}));
beforeEach(() => reloadTestingDatabases(connections));
after(() => closeTestingConnections(connections));

View File

@ -9,7 +9,6 @@ describe("other issues > joining empty relations", () => {
let connections: Connection[];
before(async () => connections = await createTestingConnections({
entities: [__dirname + "/entity/*{.js,.ts}"],
dropSchema: true,
}));
beforeEach(() => reloadTestingDatabases(connections));
after(() => closeTestingConnections(connections));

View File

@ -10,7 +10,6 @@ describe("other issues > using limit in conjunction with order by", () => {
let connections: Connection[];
before(async () => connections = await createTestingConnections({
entities: [__dirname + "/entity/*{.js,.ts}"],
dropSchema: true,
}));
beforeEach(() => reloadTestingDatabases(connections));
after(() => closeTestingConnections(connections));

View File

@ -17,7 +17,6 @@ describe("other issues > using take with multiple primary keys", () => {
async () =>
(connections = await createTestingConnections({
entities: [__dirname + "/entity/*{.js,.ts}"],
dropSchema: true
}))
);
beforeEach(() => reloadTestingDatabases(connections));